Skip to content

Commit 35873ab

Browse files
committed
knative-serving package build
Signed-off-by: Batuhan Apaydin <[email protected]>
1 parent aa60385 commit 35873ab

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

Diff for: knative-serving.yaml

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
package:
2+
name: knative-serving
3+
version: 1.16.0
4+
epoch: 0
5+
description: Kubernetes-based, scale-to-zero, request-driven compute
6+
copyright:
7+
- license: Apache-2.0
8+
9+
pipeline:
10+
- uses: git-checkout
11+
with:
12+
expected-commit: 6a27004b357047832f68b62304857b479a100f4d
13+
repository: https://github.com/knative/serving
14+
tag: knative-v${{package.version}}
15+
16+
- uses: go/bump
17+
with:
18+
deps: golang.org/x/[email protected]
19+
20+
subpackages:
21+
- name: ${{package.name}}-queue
22+
description: "Queue component for Knative serving"
23+
pipeline:
24+
- uses: go/build
25+
with:
26+
output: queue
27+
packages: ./cmd/queue
28+
test:
29+
environment:
30+
contents:
31+
packages:
32+
- wait-for-it
33+
environment:
34+
## dummy environment variables for testing copied over: https://github.com/knative/serving/blob/d4766bee6f56bbcde9af538230562b8cf5a6751b/pkg/reconciler/revision/resources/deploy_test.go#L112
35+
SERVING_NAMESPACE: foo
36+
SERVING_SERVICE: ""
37+
SERVING_CONFIGURATION: ""
38+
SERVING_REVISION: bar
39+
QUEUE_SERVING_PORT: 8012 # This is the port that the queue will listen on
40+
QUEUE_SERVING_TLS_PORT: 8112
41+
CONTAINER_CONCURRENCY: 0
42+
REVISION_TIMEOUT_SECONDS: 45
43+
REVISION_RESPONSE_START_TIMEOUT_SECONDS: 0
44+
REVISION_IDLE_TIMEOUT_SECONDS: 0
45+
SERVING_POD: static-pod-name
46+
SERVING_POD_IP: 192.168.1.100
47+
SERVING_LOGGING_CONFIG: ""
48+
SERVING_LOGGING_LEVEL: ""
49+
SERVING_REQUEST_LOG_TEMPLATE: ""
50+
SERVING_ENABLE_REQUEST_LOG: false
51+
SERVING_REQUEST_METRICS_BACKEND: ""
52+
SERVING_REQUEST_METRICS_REPORTING_PERIOD_SECONDS: 0
53+
TRACING_CONFIG_BACKEND: ""
54+
TRACING_CONFIG_ZIPKIN_ENDPOINT: ""
55+
TRACING_CONFIG_DEBUG: false
56+
TRACING_CONFIG_SAMPLE_RATE: 0
57+
USER_PORT: 8080
58+
SYSTEM_NAMESPACE: default-system-namespace
59+
METRICS_DOMAIN: default-metrics-domain
60+
SERVING_READINESS_PROBE: '{"tcpSocket":{"port":8080,"host":"127.0.0.1"}}'
61+
ENABLE_PROFILING: false
62+
SERVING_ENABLE_PROBE_REQUEST_LOG: false
63+
METRICS_COLLECTOR_ADDRESS: ""
64+
HOST_IP: 192.168.1.1
65+
ENABLE_HTTP2_AUTO_DETECTION: false
66+
ENABLE_HTTP_FULL_DUPLEX: false
67+
ROOT_CA: ""
68+
ENABLE_MULTI_CONTAINER_PROBES: false
69+
pipeline:
70+
- runs: |
71+
# Define the log file path
72+
# Start the queue and redirect logs to the file
73+
echo "Starting the queue and redirecting logs to /tmp/queue.log"
74+
queue > "/tmp/queue.log" 2>&1 &
75+
wait-for-it -t 30 localhost:8012
76+
grep -q "Starting http server main:8012" /tmp/queue.log
77+
78+
update:
79+
enabled: true
80+
github:
81+
identifier: knative/serving
82+
strip-prefix: knative-v

0 commit comments

Comments
 (0)