Skip to content

Commit

Permalink
Switch test images to strict mode (knative#7180)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmoor authored and pull[bot] committed Apr 10, 2020
1 parent d23fb05 commit 15e1b25
Show file tree
Hide file tree
Showing 24 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion test/apicoverage/image/apicoverage-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
serviceAccountName: apicoverage-webhook
containers:
- name: apicoverage-webhook
image: knative.dev/serving/test/apicoverage/image
image: ko://knative.dev/serving/test/apicoverage/image
env:
- name: SYSTEM_NAMESPACE
valueFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
autoscaling.knative.dev/targetBurstCapacity: "-1"
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
---
apiVersion: serving.knative.dev/v1
kind: Service
Expand All @@ -42,7 +42,7 @@ spec:
autoscaling.knative.dev/targetBurstCapacity: "-1"
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
containerConcurrency: 100
---
apiVersion: serving.knative.dev/v1
Expand All @@ -59,7 +59,7 @@ spec:
autoscaling.knative.dev/targetBurstCapacity: "-1"
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
containerConcurrency: 10
---
apiVersion: serving.knative.dev/v1
Expand All @@ -76,7 +76,7 @@ spec:
autoscaling.knative.dev/targetBurstCapacity: "-1"
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
containerConcurrency: 1
---
apiVersion: serving.knative.dev/v1
Expand All @@ -93,7 +93,7 @@ spec:
autoscaling.knative.dev/targetBurstCapacity: "0"
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
---
apiVersion: serving.knative.dev/v1
kind: Service
Expand All @@ -109,7 +109,7 @@ spec:
autoscaling.knative.dev/targetBurstCapacity: "0"
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
containerConcurrency: 100
---
apiVersion: serving.knative.dev/v1
Expand All @@ -126,7 +126,7 @@ spec:
autoscaling.knative.dev/targetBurstCapacity: "0"
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
containerConcurrency: 10
---
apiVersion: serving.knative.dev/v1
Expand All @@ -143,7 +143,7 @@ spec:
autoscaling.knative.dev/targetBurstCapacity: "0"
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
containerConcurrency: 1
---
apiVersion: v1
Expand Down Expand Up @@ -173,7 +173,7 @@ spec:
spec:
containers:
- name: user-container
image: knative.dev/serving/test/test_images/autoscale
image: ko://knative.dev/serving/test/test_images/autoscale
ports:
- name: blah
containerPort: 8080
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
serviceAccountName: prober
containers:
- name: dataplane-probe
image: knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
args: ["-target=deployment", "--duration=3m"]
resources:
requests:
Expand Down Expand Up @@ -87,7 +87,7 @@ spec:
serviceAccountName: prober
containers:
- name: dataplane-probe
image: knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
args: ["-target=istio", "--duration=3m"]
resources:
requests:
Expand Down Expand Up @@ -129,7 +129,7 @@ spec:
serviceAccountName: prober
containers:
- name: dataplane-probe
image: knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
args: ["-target=queue", "--duration=3m"]
resources:
requests:
Expand Down Expand Up @@ -171,7 +171,7 @@ spec:
serviceAccountName: prober
containers:
- name: dataplane-probe
image: knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
args: ["-target=activator", "--duration=3m"]
resources:
requests:
Expand Down Expand Up @@ -213,7 +213,7 @@ spec:
serviceAccountName: prober
containers:
- name: dataplane-probe
image: knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
args: ["-target=activator-with-cc", "--duration=3m"]
resources:
requests:
Expand Down Expand Up @@ -255,7 +255,7 @@ spec:
serviceAccountName: prober
containers:
- name: dataplane-probe
image: knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
args: ["-target=queue-with-cc", "--duration=3m"]
resources:
requests:
Expand Down Expand Up @@ -297,7 +297,7 @@ spec:
serviceAccountName: prober
containers:
- name: dataplane-probe
image: knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
args: ["-target=queue-with-cc-10", "--duration=3m"]
resources:
requests:
Expand Down Expand Up @@ -339,7 +339,7 @@ spec:
serviceAccountName: prober
containers:
- name: dataplane-probe
image: knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
args: ["-target=queue-with-cc-1", "--duration=3m"]
resources:
requests:
Expand Down Expand Up @@ -381,7 +381,7 @@ spec:
serviceAccountName: prober
containers:
- name: dataplane-probe
image: knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
args: ["-target=activator-with-cc-10", "--duration=3m"]
resources:
requests:
Expand Down Expand Up @@ -423,7 +423,7 @@ spec:
serviceAccountName: prober
containers:
- name: dataplane-probe
image: knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/dataplane-probe/continuous
args: ["-target=activator-with-cc-1", "--duration=3m"]
resources:
requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
serviceAccountName: prober
containers:
- name: probe
image: knative.dev/serving/test/performance/benchmarks/deployment-probe/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/deployment-probe/continuous
args:
- "-template=basic"
- "-duration=35m"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
autoscaling.knative.dev/targetBurstCapacity: "-1"
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
---
apiVersion: serving.knative.dev/v1
kind: Service
Expand All @@ -38,7 +38,7 @@ spec:
autoscaling.knative.dev/targetBurstCapacity: "0"
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
---
apiVersion: serving.knative.dev/v1
kind: Service
Expand All @@ -52,4 +52,4 @@ spec:
autoscaling.knative.dev/targetBurstCapacity: "200"
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
serviceAccountName: loader
containers:
- name: load-test
image: knative.dev/serving/test/performance/benchmarks/load-test/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/load-test/continuous
args:
- "-flavor=zero"
resources:
Expand Down Expand Up @@ -88,7 +88,7 @@ spec:
serviceAccountName: loader
containers:
- name: load-test
image: knative.dev/serving/test/performance/benchmarks/load-test/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/load-test/continuous
args:
- "-flavor=always"
resources:
Expand Down Expand Up @@ -132,7 +132,7 @@ spec:
serviceAccountName: loader
containers:
- name: load-test
image: knative.dev/serving/test/performance/benchmarks/load-test/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/load-test/continuous
args:
- "-flavor=200"
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
serviceAccountName: scale-from-zero
containers:
- name: scale-from-zero
image: knative.dev/serving/test/performance/benchmarks/scale-from-zero/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/scale-from-zero/continuous
args:
- "-parallel=1"
env:
Expand Down Expand Up @@ -91,7 +91,7 @@ spec:
serviceAccountName: scale-from-zero
containers:
- name: scale-from-zero
image: knative.dev/serving/test/performance/benchmarks/scale-from-zero/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/scale-from-zero/continuous
args:
- "-parallel=5"
env:
Expand Down Expand Up @@ -138,7 +138,7 @@ spec:
serviceAccountName: scale-from-zero
containers:
- name: scale-from-zero
image: knative.dev/serving/test/performance/benchmarks/scale-from-zero/continuous
image: ko://knative.dev/serving/test/performance/benchmarks/scale-from-zero/continuous
args:
- "-parallel=25"
env:
Expand Down
2 changes: 1 addition & 1 deletion test/performance/config/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
spec:
containers:
- name: vegeta
image: knative.dev/serving/vendor/github.com/tsenart/vegeta
image: ko://knative.dev/serving/vendor/github.com/tsenart/vegeta
command: ["/bin/bash", "-c"]
args:
- "/ko-app/vegeta -cpus=1 attack -duration=4m -rate=1000/1s -targets=/var/vegeta/payload | /ko-app/vegeta report -type=json"
Expand Down
2 changes: 1 addition & 1 deletion test/test_images/autoscale/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/autoscale
- image: ko://knative.dev/serving/test/test_images/autoscale
2 changes: 1 addition & 1 deletion test/test_images/failing/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/failing
- image: ko://knative.dev/serving/test/test_images/failing
2 changes: 1 addition & 1 deletion test/test_images/flaky/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/flaky
- image: ko://knative.dev/serving/test/test_images/flaky
env:
# Succeed every Nth request.
- name: PERIOD
Expand Down
2 changes: 1 addition & 1 deletion test/test_images/grpc-ping/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/grpc-ping
- image: ko://knative.dev/serving/test/test_images/grpc-ping
ports:
- name: h2c
containerPort: 8080
2 changes: 1 addition & 1 deletion test/test_images/hellovolume/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
containers:
- # This is the Go import path for the binary to containerize
# and substitute here.
image: knative.dev/serving/test/test_images/hellovolume
image: ko://knative.dev/serving/test/test_images/hellovolume
volumeMounts:
- name: foo
mountPath: /hello/
Expand Down
2 changes: 1 addition & 1 deletion test/test_images/helloworld/helloworld.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
containers:
- # This is the Go import path for the binary to containerize
# and substitute here.
image: knative.dev/serving/test/test_images/helloworld
image: ko://knative.dev/serving/test/test_images/helloworld
readinessProbe:
httpGet:
path: /
Expand Down
2 changes: 1 addition & 1 deletion test/test_images/helloworld/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/helloworld
- image: ko://knative.dev/serving/test/test_images/helloworld
4 changes: 2 additions & 2 deletions test/test_images/httpproxy/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/helloworld
- image: ko://knative.dev/serving/test/test_images/helloworld
---
apiVersion: serving.knative.dev/v1
kind: Service
Expand All @@ -18,7 +18,7 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/httpproxy
- image: ko://knative.dev/serving/test/test_images/httpproxy
env:
- name: TARGET_HOST
value: "helloworld-test-image.default.svc.cluster.local"
Expand Down
2 changes: 1 addition & 1 deletion test/test_images/observed-concurrency/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/observed-concurrency
- image: ko://knative.dev/serving/test/test_images/observed-concurrency
2 changes: 1 addition & 1 deletion test/test_images/pizzaplanetv1/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/pizzaplanetv1
- image: ko://knative.dev/serving/test/test_images/pizzaplanetv1
2 changes: 1 addition & 1 deletion test/test_images/pizzaplanetv2/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/pizzaplanetv2
- image: ko://knative.dev/serving/test/test_images/pizzaplanetv2
2 changes: 1 addition & 1 deletion test/test_images/runtime/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/runtime
- image: ko://knative.dev/serving/test/test_images/runtime
securityContext:
runAsUser: 65532
2 changes: 1 addition & 1 deletion test/test_images/singlethreaded/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/singlethreaded
- image: ko://knative.dev/serving/test/test_images/singlethreaded
2 changes: 1 addition & 1 deletion test/test_images/timeout/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/timeout
- image: ko://knative.dev/serving/test/test_images/timeout
2 changes: 1 addition & 1 deletion test/test_images/wsserver-hostname/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/wsserver-hostname
- image: ko://knative.dev/serving/test/test_images/wsserver-hostname
2 changes: 1 addition & 1 deletion test/test_images/wsserver/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ spec:
template:
spec:
containers:
- image: knative.dev/serving/test/test_images/wsserver
- image: ko://knative.dev/serving/test/test_images/wsserver

0 comments on commit 15e1b25

Please sign in to comment.