Skip to content

Commit

Permalink
Move tests from net-certmanager to serving (#398)
Browse files Browse the repository at this point in the history
* move tests from net-certmanager to serving

* codegen
  • Loading branch information
skonto authored May 21, 2024
1 parent 013abf7 commit 0e8c561
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 0 deletions.
106 changes: 106 additions & 0 deletions prow/jobs/generated/knative/serving-main.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,60 @@ periodics:
secret:
defaultMode: 384
secretName: influx-url-secret
- annotations:
testgrid-dashboards: serving
testgrid-tab-name: cert-manager-continuous
cluster: prow-build
cron: 30 */9 * * *
decorate: true
extra_refs:
- base_ref: main
org: knative
path_alias: knative.dev/serving
repo: serving
name: cert-manager-continuous_serving_main_periodic
spec:
containers:
- command:
- runner.sh
- ./test/e2e/certmanager/presubmit-tests.sh
- --all-tests
env:
- name: E2E_CLUSTER_REGION
value: us-central1
- name: DOCKER_IN_DOCKER_ENABLED
value: "true"
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240327-0a7207ad5
name: ""
resources:
limits:
memory: 16Gi
requests:
memory: 12Gi
securityContext:
privileged: true
volumeMounts:
- mountPath: /docker-graph
name: docker-graph
- mountPath: /lib/modules
name: modules
- mountPath: /sys/fs/cgroup
name: cgroup
nodeSelector:
kubernetes.io/arch: amd64
type: testing
serviceAccountName: test-runner
volumes:
- emptyDir: {}
name: docker-graph
- hostPath:
path: /lib/modules
type: Directory
name: modules
- hostPath:
path: /sys/fs/cgroup
type: Directory
name: cgroup
- annotations:
testgrid-dashboards: serving
testgrid-tab-name: s390x-kourier-tests
Expand Down Expand Up @@ -1767,3 +1821,55 @@ presubmits:
type: Directory
name: cgroup
trigger: ((?m)^/test( | .* )https,?($|\s.*))|((?m)^/test( | .* )https_serving_main,?($|\s.*))
- always_run: true
branches:
- ^main$
cluster: prow-build
decorate: true
name: certmanager-integration-tests_serving_main
path_alias: knative.dev/serving
rerun_command: /test certmanager-integration-tests
spec:
containers:
- command:
- runner.sh
- ./test/e2e/certmanager/presubmit-tests.sh
- --integration-tests
env:
- name: E2E_CLUSTER_REGION
value: us-central1
- name: DOCKER_IN_DOCKER_ENABLED
value: "true"
image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20240327-0a7207ad5
name: ""
resources:
limits:
memory: 16Gi
requests:
memory: 12Gi
securityContext:
privileged: true
volumeMounts:
- mountPath: /docker-graph
name: docker-graph
- mountPath: /lib/modules
name: modules
- mountPath: /sys/fs/cgroup
name: cgroup
nodeSelector:
kubernetes.io/arch: amd64
type: testing
serviceAccountName: test-runner
volumes:
- emptyDir: {}
name: docker-graph
- hostPath:
path: /lib/modules
type: Directory
name: modules
- hostPath:
path: /sys/fs/cgroup
type: Directory
name: cgroup
trigger: ((?m)^/test( | .* )certmanager-integration-tests,?($|\s.*))|((?m)^/test(
| .* )certmanager-integration-tests_serving_main,?($|\s.*))
8 changes: 8 additions & 0 deletions prow/jobs_config/knative/serving.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,14 @@ jobs:
requirements: [perf]
command: [runner.sh, ./test/presubmit-tests.sh, --run-test, ./test/performance/performance-tests.sh]

- name: certmanager-integration-tests
types: [presubmit]
command: [runner.sh, ./test/e2e/certmanager/presubmit-tests.sh, --integration-tests]

- name: cert-manager-continuous
types: [periodic]
command: [runner.sh, ./test/e2e/certmanager/presubmit-tests.sh, --all-tests]

- name: s390x-kourier-tests
cron: 20 2 * * *
types: [periodic]
Expand Down

0 comments on commit 0e8c561

Please sign in to comment.