From b484035a3acc17800fe8df2bc106eb90c0d47fbe Mon Sep 17 00:00:00 2001 From: Vincent Hou Date: Mon, 25 Sep 2023 09:55:46 -0400 Subject: [PATCH] Added the repo serving-progressive-rollout --- config/prow/k8s-testgrid/k8s-testgrid.yaml | 2 + .../serving-progressive-rollout-main.gen.yaml | 245 ++++++++++++++++++ .../serving-progressive-rollout.yaml | 37 +++ 3 files changed, 284 insertions(+) create mode 100644 prow/jobs/generated/knative-sandbox/serving-progressive-rollout-main.gen.yaml create mode 100644 prow/jobs_config/knative-sandbox/serving-progressive-rollout.yaml diff --git a/config/prow/k8s-testgrid/k8s-testgrid.yaml b/config/prow/k8s-testgrid/k8s-testgrid.yaml index 8eaf4b0c474..6eb63854c78 100644 --- a/config/prow/k8s-testgrid/k8s-testgrid.yaml +++ b/config/prow/k8s-testgrid/k8s-testgrid.yaml @@ -51,6 +51,7 @@ dashboard_groups: - sample-source - scaling-group - security-guard + - serving-progressive-rollout name: knative-sandbox dashboards: - name: async-component @@ -104,4 +105,5 @@ dashboards: - name: scaling-group - name: security-guard - name: serving +- name: serving-progressive-rollout - name: utilities diff --git a/prow/jobs/generated/knative-sandbox/serving-progressive-rollout-main.gen.yaml b/prow/jobs/generated/knative-sandbox/serving-progressive-rollout-main.gen.yaml new file mode 100644 index 00000000000..4591fb97a88 --- /dev/null +++ b/prow/jobs/generated/knative-sandbox/serving-progressive-rollout-main.gen.yaml @@ -0,0 +1,245 @@ +# ####################################################################### +# #### #### +# #### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. #### +# #### USE "./hack/generate-configs.sh" TO REGENERATE THIS FILE. #### +# #### #### +# ####################################################################### + +periodics: +- annotations: + testgrid-dashboards: serving-progressive-rollout + testgrid-tab-name: continuous + cluster: prow-build + cron: 41 */9 * * * + decorate: true + extra_refs: + - base_ref: main + org: knative-sandbox + path_alias: knative.dev/serving-progressive-rollout + repo: serving-progressive-rollout + name: continuous_serving-progressive-rollout_main_periodic + spec: + containers: + - command: + - runner.sh + - ./test/presubmit-tests.sh + - --all-tests + env: + - name: E2E_CLUSTER_REGION + value: us-central1 + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /etc/test-account/service-account.json + image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c + 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 +- annotations: + testgrid-dashboards: serving-progressive-rollout + testgrid-tab-name: nightly + cluster: prow-build + cron: 7 9 * * * + decorate: true + extra_refs: + - base_ref: main + org: knative-sandbox + path_alias: knative.dev/serving-progressive-rollout + repo: serving-progressive-rollout + max_concurrency: 1 + name: nightly_serving-progressive-rollout_main_periodic + spec: + containers: + - command: + - runner.sh + - ./hack/release.sh + - --publish + - --tag-release + env: + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /etc/nightly-account/service-account.json + - name: SIGN_IMAGES + value: "true" + - name: ATTEST_IMAGES + value: "true" + image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c + name: "" + resources: {} + securityContext: + privileged: true + volumeMounts: + - mountPath: /etc/nightly-account + name: nightly-account + readOnly: true + nodeSelector: + kubernetes.io/arch: amd64 + type: testing + volumes: + - name: nightly-account + secret: + items: + - key: nightly.json + path: service-account.json + secretName: prow-google-credentials +- annotations: + testgrid-dashboards: serving-progressive-rollout + testgrid-tab-name: release + cluster: prow-build + cron: 59 */9 * * * + decorate: true + extra_refs: + - base_ref: main + org: knative-sandbox + path_alias: knative.dev/serving-progressive-rollout + repo: serving-progressive-rollout + max_concurrency: 1 + name: release_serving-progressive-rollout_main_periodic + spec: + containers: + - command: + - runner.sh + - ./hack/release.sh + - --auto-release + - --release-gcs + - knative-releases/serving-progressive-rollout + - --release-gcr + - gcr.io/knative-releases + - --github-token + - /etc/hub-token/token + env: + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /etc/release-account/service-account.json + - name: E2E_CLUSTER_REGION + value: us-central1 + - name: ORG_NAME + value: knative-sandbox + - name: ATTEST_IMAGES + value: "true" + image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c + name: "" + resources: {} + securityContext: + privileged: true + volumeMounts: + - mountPath: /etc/hub-token + name: hub-token + readOnly: true + - mountPath: /etc/release-account + name: release-account + readOnly: true + nodeSelector: + kubernetes.io/arch: amd64 + type: testing + volumes: + - name: hub-token + secret: + items: + - key: hub_token + path: token + secretName: github-credentials + - name: release-account + secret: + items: + - key: release.json + path: service-account.json + secretName: prow-google-credentials +presubmits: + knative-sandbox/serving-progressive-rollout: + - always_run: true + branches: + - ^main$ + cluster: prow-build + decorate: true + name: build-tests_serving-progressive-rollout_main + path_alias: knative.dev/serving-progressive-rollout + rerun_command: /test build-tests + spec: + containers: + - command: + - runner.sh + - ./test/presubmit-tests.sh + - --build-tests + image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c + name: "" + resources: {} + securityContext: + privileged: true + nodeSelector: + kubernetes.io/arch: amd64 + type: testing + trigger: ((?m)^/test( | .* )build-tests,?($|\s.*))|((?m)^/test( | .* )build-tests_serving-progressive-rollout_main,?($|\s.*)) + - always_run: true + branches: + - ^main$ + cluster: prow-build + decorate: true + name: unit-tests_serving-progressive-rollout_main + path_alias: knative.dev/serving-progressive-rollout + rerun_command: /test unit-tests + spec: + containers: + - command: + - runner.sh + - ./test/presubmit-tests.sh + - --unit-tests + image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c + name: "" + resources: {} + securityContext: + privileged: true + nodeSelector: + kubernetes.io/arch: amd64 + type: testing + trigger: ((?m)^/test( | .* )unit-tests,?($|\s.*))|((?m)^/test( | .* )unit-tests_serving-progressive-rollout_main,?($|\s.*)) + - always_run: true + branches: + - ^main$ + cluster: prow-build + decorate: true + name: integration-tests_serving-progressive-rollout_main + path_alias: knative.dev/serving-progressive-rollout + rerun_command: /test integration-tests + spec: + containers: + - command: + - runner.sh + - ./test/presubmit-tests.sh + - --integration-tests + env: + - name: E2E_CLUSTER_REGION + value: us-central1 + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /etc/test-account/service-account.json + image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c + 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,?($|\s.*))|((?m)^/test( | .* )integration-tests_serving-progressive-rollout_main,?($|\s.*)) diff --git a/prow/jobs_config/knative-sandbox/serving-progressive-rollout.yaml b/prow/jobs_config/knative-sandbox/serving-progressive-rollout.yaml new file mode 100644 index 00000000000..570f186368c --- /dev/null +++ b/prow/jobs_config/knative-sandbox/serving-progressive-rollout.yaml @@ -0,0 +1,37 @@ +org: knative-sandbox +repo: serving-progressive-rollout +branches: [main] +image: gcr.io/knative-tests/test-infra/prow-tests:v20230524-d6a12e8c + +jobs: + - name: build-tests + types: [presubmit] + command: [runner.sh, ./test/presubmit-tests.sh, --build-tests] + excluded_requirements: [gcp] + + - name: unit-tests + types: [presubmit] + command: [runner.sh, ./test/presubmit-tests.sh, --unit-tests] + excluded_requirements: [gcp] + + - name: integration-tests + types: [presubmit] + command: [runner.sh, ./test/presubmit-tests.sh, --integration-tests] + + - name: continuous + types: [periodic] + command: [runner.sh, ./test/presubmit-tests.sh, --all-tests] + + - name: nightly + types: [periodic] + command: [runner.sh, ./hack/release.sh, --publish, --tag-release] + requirements: [nightly] + excluded_requirements: [gcp] + max_concurrency: 1 + + - name: release + types: [periodic] + command: [runner.sh, ./hack/release.sh, --auto-release, --release-gcs, knative-releases/serving-progressive-rollout, --release-gcr, gcr.io/knative-releases, --github-token, /etc/hub-token/token] + requirements: [release] + excluded_requirements: [gcp] + max_concurrency: 1