Skip to content

Commit

Permalink
[net-gateway-api] add envoy gateway presubmits (#451)
Browse files Browse the repository at this point in the history
* add envoy gateway presubmits

* add a temporary test to exercise knative conformance
  • Loading branch information
dprotaso authored May 31, 2024
1 parent ccbb38b commit 2106137
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,3 +329,83 @@ presubmits:
secretName: prow-google-credentials
trigger: ((?m)^/test( | .* )integration-tests-contour,?($|\s.*))|((?m)^/test(
| .* )integration-tests-contour_net-gateway-api_main,?($|\s.*))
- always_run: false
branches:
- ^main$
cluster: prow-build
decorate: true
name: integration-tests-envoy-gateway_net-gateway-api_main
optional: true
path_alias: knative.dev/net-gateway-api
rerun_command: /test integration-tests-envoy-gateway
spec:
containers:
- command:
- runner.sh
- ./test/presubmit-tests.sh
- --run-test
- ./test/e2e-tests.sh --envoy-gateway
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240527-a699f40ae
name: ""
resources: {}
securityContext:
privileged: true
volumeMounts:
- mountPath: /etc/test-account
name: test-account
readOnly: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
volumes:
- name: test-account
secret:
items:
- key: service-account-key.json
path: service-account.json
secretName: prow-google-credentials
trigger: ((?m)^/test( | .* )integration-tests-envoy-gateway,?($|\s.*))|((?m)^/test(
| .* )integration-tests-envoy-gateway_net-gateway-api_main,?($|\s.*))
- always_run: false
branches:
- ^main$
cluster: prow-build
decorate: true
name: integration-tests-envoy-gateway-conformance_net-gateway-api_main
optional: true
path_alias: knative.dev/net-gateway-api
rerun_command: /test integration-tests-envoy-gateway-conformance
spec:
containers:
- command:
- runner.sh
- ./test/presubmit-tests.sh
- --run-test
- ./test/e2e-tests.sh --envoy-gateway --gateway-tests-only
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/test-account/service-account.json
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240527-a699f40ae
name: ""
resources: {}
securityContext:
privileged: true
volumeMounts:
- mountPath: /etc/test-account
name: test-account
readOnly: true
nodeSelector:
kubernetes.io/arch: amd64
type: testing
volumes:
- name: test-account
secret:
items:
- key: service-account-key.json
path: service-account.json
secretName: prow-google-credentials
trigger: ((?m)^/test( | .* )integration-tests-envoy-gateway-conformance,?($|\s.*))|((?m)^/test(
| .* )integration-tests-envoy-gateway-conformance_net-gateway-api_main,?($|\s.*))
10 changes: 10 additions & 0 deletions prow/jobs_config/knative-extensions/net-gateway-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ jobs:
types: [presubmit]
command: [runner.sh, ./test/presubmit-tests.sh, --run-test, "./test/e2e-tests.sh --contour"]

- name: integration-tests-envoy-gateway
types: [presubmit]
modifiers: [presubmit_optional, presubmit_skipped]
command: [runner.sh, ./test/presubmit-tests.sh, --run-test, "./test/e2e-tests.sh --envoy-gateway"]

- name: integration-tests-envoy-gateway-conformance
types: [presubmit]
modifiers: [presubmit_optional, presubmit_skipped]
command: [runner.sh, ./test/presubmit-tests.sh, --run-test, "./test/e2e-tests.sh --envoy-gateway --gateway-tests-only"]

- name: continuous-istio
types: [periodic]
command: [runner.sh, ./test/presubmit-tests.sh, --run-test, "./test/e2e-tests.sh"]
Expand Down

0 comments on commit 2106137

Please sign in to comment.