From e10bfaee40599538e8664d41189519cb56f1a4b4 Mon Sep 17 00:00:00 2001 From: Vincent Hou Date: Mon, 25 Sep 2023 11:15:50 -0400 Subject: [PATCH] Added the repo serving-progressive-rollot --- config/prow/k8s-testgrid/k8s-testgrid.yaml | 2 + .../serving-progressive-rollout-main.gen.yaml | 247 ++++++++++++++++++ .../serving-progressive-rollout.yaml | 37 +++ 3 files changed, 286 insertions(+) create mode 100644 prow/jobs/generated/knative-extensions/serving-progressive-rollout-main.gen.yaml create mode 100644 prow/jobs_config/knative-extensions/serving-progressive-rollout.yaml diff --git a/config/prow/k8s-testgrid/k8s-testgrid.yaml b/config/prow/k8s-testgrid/k8s-testgrid.yaml index a1673d320..4a5e45c43 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-extensions dashboards: - name: async-component @@ -106,4 +107,5 @@ dashboards: - name: scaling-group - name: security-guard - name: serving +- name: serving-progressive-rollout - name: utilities diff --git a/prow/jobs/generated/knative-extensions/serving-progressive-rollout-main.gen.yaml b/prow/jobs/generated/knative-extensions/serving-progressive-rollout-main.gen.yaml new file mode 100644 index 000000000..466097a97 --- /dev/null +++ b/prow/jobs/generated/knative-extensions/serving-progressive-rollout-main.gen.yaml @@ -0,0 +1,247 @@ +# ####################################################################### +# #### #### +# #### 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: 54 */9 * * * + decorate: true + extra_refs: + - base_ref: main + org: knative-extensions + 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:v20230918-e098e6159 + 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: 6 9 * * * + decorate: true + extra_refs: + - base_ref: main + org: knative-extensions + 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: E2E_CLUSTER_REGION + value: us-central1 + - name: SIGN_IMAGES + value: "true" + - name: ATTEST_IMAGES + value: "true" + image: gcr.io/knative-tests/test-infra/prow-tests:v20230918-e098e6159 + 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: 26 */9 * * * + decorate: true + extra_refs: + - base_ref: main + org: knative-extensions + 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-extensions + - name: ATTEST_IMAGES + value: "true" + image: gcr.io/knative-tests/test-infra/prow-tests:v20230918-e098e6159 + 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-extensions/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:v20230918-e098e6159 + 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:v20230918-e098e6159 + 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:v20230918-e098e6159 + 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-extensions/serving-progressive-rollout.yaml b/prow/jobs_config/knative-extensions/serving-progressive-rollout.yaml new file mode 100644 index 000000000..c0b6cd299 --- /dev/null +++ b/prow/jobs_config/knative-extensions/serving-progressive-rollout.yaml @@ -0,0 +1,37 @@ +org: knative-extensions +repo: serving-progressive-rollout +branches: [main] +image: gcr.io/knative-tests/test-infra/prow-tests:v20230918-e098e6159 + +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