From 2608d97edc8d1a49600c1a6c84712997b06a61f3 Mon Sep 17 00:00:00 2001 From: Knative Prow Updater Robot Date: Fri, 28 Jul 2023 14:01:50 +0000 Subject: [PATCH] [Auto] Update prow jobs for release branches --- .../knative/operator-release-1.11.gen.yaml | 464 ++++++++++++++++++ .../knative/operator-release-1.11.yaml | 132 +++++ 2 files changed, 596 insertions(+) create mode 100644 prow/jobs/generated/knative/operator-release-1.11.gen.yaml create mode 100644 prow/jobs_config/knative/operator-release-1.11.yaml diff --git a/prow/jobs/generated/knative/operator-release-1.11.gen.yaml b/prow/jobs/generated/knative/operator-release-1.11.gen.yaml new file mode 100644 index 000000000..caa215d5a --- /dev/null +++ b/prow/jobs/generated/knative/operator-release-1.11.gen.yaml @@ -0,0 +1,464 @@ +# ####################################################################### +# #### #### +# #### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. #### +# #### USE "./hack/generate-configs.sh" TO REGENERATE THIS FILE. #### +# #### #### +# ####################################################################### + +periodics: +- annotations: + testgrid-dashboards: knative-release-1.11 + testgrid-tab-name: operator-continuous + cluster: prow-build + cron: 3 10 * * * + decorate: true + extra_refs: + - base_ref: release-1.11 + org: knative + path_alias: knative.dev/operator + repo: operator + name: continuous_operator_release-1.11_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: us-docker.pkg.dev/knative-tests/images/prow-tests:v20230718-833225a30 + 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: knative-release-1.11 + testgrid-tab-name: operator-s390x-e2e-tests + cluster: prow-build + cron: 20 0 * * * + decorate: true + extra_refs: + - base_ref: release-1.11 + org: knative + path_alias: knative.dev/operator + repo: operator + name: s390x-e2e-tests_operator_release-1.11_periodic + spec: + containers: + - args: + - bash + - -c + - | + mkdir -p /root/.kube + cat /opt/cluster/ci-script > connect.sh + chmod +x connect.sh + ./connect.sh operator-main + kubectl get cm s390x-config-operator -n default -o jsonpath='{.data.adjustment-script}' > adjust.sh + chmod +x adjust.sh + ./adjust.sh + ./test/e2e-tests.sh --run-tests + command: + - runner.sh + env: + - name: INGRESS_CLASS + value: contour.ingress.networking.knative.dev + - name: E2E_CLUSTER_REGION + value: us-central1 + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /etc/test-account/service-account.json + - name: KO_FLAGS + value: --platform=linux/s390x --insecure-registry + - name: PLATFORM + value: linux/s390x + - name: KO_DOCKER_REPO + valueFrom: + secretKeyRef: + key: ko-docker-repo + name: s390x-cluster1 + - name: KUBECONFIG + value: /root/.kube/config + - name: DOCKER_CONFIG + value: /opt/cluster + image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20230718-833225a30 + name: "" + resources: {} + securityContext: + privileged: true + volumeMounts: + - mountPath: /etc/test-account + name: test-account + readOnly: true + - mountPath: /opt/cluster + name: s390x-cluster1 + 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 + - name: s390x-cluster1 + secret: + defaultMode: 384 + secretName: s390x-cluster1 +- annotations: + testgrid-dashboards: knative-release-1.11 + testgrid-tab-name: operator-ppc64le-e2e-tests + cluster: prow-build + cron: 0 13 * * * + decorate: true + extra_refs: + - base_ref: release-1.11 + org: knative + path_alias: knative.dev/operator + repo: operator + name: ppc64le-e2e-tests_operator_release-1.11_periodic + spec: + containers: + - args: + - bash + - -c + - | + cat /opt/cluster/ci-script > /tmp/connect.sh + chmod +x /tmp/connect.sh + . /tmp/connect.sh ${CI_JOB} + ./test/e2e-tests.sh --run-tests + command: + - runner.sh + env: + - name: CI_JOB + value: operator-main + - name: INGRESS_CLASS + value: contour.ingress.networking.knative.dev + - name: E2E_CLUSTER_REGION + value: us-central1 + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /etc/test-account/service-account.json + - name: KO_FLAGS + value: --platform=linux/ppc64le + - name: PLATFORM + value: linux/ppc64le + - name: KO_DOCKER_REPO + value: registry.ppc64le + - name: KUBECONFIG + value: /root/.kube/config + image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20230718-833225a30 + name: "" + resources: {} + securityContext: + privileged: true + volumeMounts: + - mountPath: /etc/test-account + name: test-account + readOnly: true + - mountPath: /opt/cluster + name: ppc64le-cluster + 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 + - name: ppc64le-cluster + secret: + defaultMode: 384 + secretName: ppc64le-cluster +- annotations: + testgrid-dashboards: knative-release-1.11 + testgrid-tab-name: operator-release + cluster: prow-build + cron: 21 9 * * 2 + decorate: true + extra_refs: + - base_ref: release-1.11 + org: knative + path_alias: knative.dev/operator + repo: operator + max_concurrency: 1 + name: release_operator_release-1.11_periodic + spec: + containers: + - command: + - runner.sh + - ./hack/release.sh + - --dot-release + - --release-gcs + - knative-releases/operator + - --release-gcr + - gcr.io/knative-releases + - --github-token + - /etc/hub-token/token + - --branch + - release-1.11 + env: + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /etc/release-account/service-account.json + - name: E2E_CLUSTER_REGION + value: us-central1 + - name: SIGN_IMAGES + value: "true" + - name: ATTEST_IMAGES + value: "true" + image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20230718-833225a30 + 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/operator: + - always_run: true + branches: + - ^release-1.11$ + cluster: prow-build + decorate: true + name: build-tests_operator_release-1.11 + path_alias: knative.dev/operator + rerun_command: /test build-tests + spec: + containers: + - command: + - runner.sh + - ./test/presubmit-tests.sh + - --build-tests + image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20230718-833225a30 + name: "" + resources: {} + securityContext: + privileged: true + nodeSelector: + kubernetes.io/arch: amd64 + type: testing + trigger: ((?m)^/test( | .* )build-tests,?($|\s.*))|((?m)^/test( | .* )build-tests_operator_release-1.11,?($|\s.*)) + - always_run: true + branches: + - ^release-1.11$ + cluster: prow-build + decorate: true + name: unit-tests_operator_release-1.11 + path_alias: knative.dev/operator + rerun_command: /test unit-tests + spec: + containers: + - command: + - runner.sh + - ./test/presubmit-tests.sh + - --unit-tests + image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20230718-833225a30 + name: "" + resources: {} + securityContext: + privileged: true + nodeSelector: + kubernetes.io/arch: amd64 + type: testing + trigger: ((?m)^/test( | .* )unit-tests,?($|\s.*))|((?m)^/test( | .* )unit-tests_operator_release-1.11,?($|\s.*)) + - always_run: true + branches: + - ^release-1.11$ + cluster: prow-build + decorate: true + name: integration-tests_operator_release-1.11 + path_alias: knative.dev/operator + 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: us-docker.pkg.dev/knative-tests/images/prow-tests:v20230718-833225a30 + 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_operator_release-1.11,?($|\s.*)) + - always_run: true + branches: + - ^release-1.11$ + cluster: prow-build + decorate: true + name: upgrade-tests_operator_release-1.11 + path_alias: knative.dev/operator + rerun_command: /test upgrade-tests + spec: + containers: + - command: + - runner.sh + - ./test/presubmit-tests.sh + - --run-test + - ./test/e2e-upgrade-tests.sh + env: + - name: E2E_CLUSTER_REGION + value: us-central1 + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /etc/test-account/service-account.json + image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20230718-833225a30 + 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( | .* )upgrade-tests,?($|\s.*))|((?m)^/test( | .* )upgrade-tests_operator_release-1.11,?($|\s.*)) + - always_run: true + branches: + - ^release-1.11$ + cluster: prow-build + decorate: true + name: serving-upgrade-tests_operator_release-1.11 + path_alias: knative.dev/operator + rerun_command: /test serving-upgrade-tests + spec: + containers: + - command: + - runner.sh + - ./test/presubmit-tests.sh + - --run-test + - ./test/e2e-serving-upgrade-tests.sh + env: + - name: E2E_CLUSTER_REGION + value: us-central1 + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /etc/test-account/service-account.json + image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20230718-833225a30 + 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( | .* )serving-upgrade-tests,?($|\s.*))|((?m)^/test( | .* + )serving-upgrade-tests_operator_release-1.11,?($|\s.*)) + - always_run: true + branches: + - ^release-1.11$ + cluster: prow-build + decorate: true + name: eventing-upgrade-tests_operator_release-1.11 + path_alias: knative.dev/operator + rerun_command: /test eventing-upgrade-tests + spec: + containers: + - command: + - runner.sh + - ./test/presubmit-tests.sh + - --run-test + - ./test/e2e-eventing-upgrade-tests.sh + env: + - name: E2E_CLUSTER_REGION + value: us-central1 + - name: GOOGLE_APPLICATION_CREDENTIALS + value: /etc/test-account/service-account.json + image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20230718-833225a30 + 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( | .* )eventing-upgrade-tests,?($|\s.*))|((?m)^/test( | .* + )eventing-upgrade-tests_operator_release-1.11,?($|\s.*)) diff --git a/prow/jobs_config/knative/operator-release-1.11.yaml b/prow/jobs_config/knative/operator-release-1.11.yaml new file mode 100644 index 000000000..9564b084a --- /dev/null +++ b/prow/jobs_config/knative/operator-release-1.11.yaml @@ -0,0 +1,132 @@ +# ############################################################################# +# #### #### +# #### THIS FILE IS AUTOMATICALLY GENERATED by release-jobs-syncer. #### +# #### PLEASE ONLY MODIFY IT MANUALLY WHEN ACTUALLY NEEDED. #### +# #### #### +# ############################################################################# +branches: +- release-1.11 +image: us-docker.pkg.dev/knative-tests/images/prow-tests:v20230718-833225a30 +jobs: +- command: + - runner.sh + - ./test/presubmit-tests.sh + - --build-tests + excluded_requirements: + - gcp + name: build-tests + types: + - presubmit +- command: + - runner.sh + - ./test/presubmit-tests.sh + - --unit-tests + excluded_requirements: + - gcp + name: unit-tests + types: + - presubmit +- command: + - runner.sh + - ./test/presubmit-tests.sh + - --integration-tests + name: integration-tests + types: + - presubmit +- command: + - runner.sh + - ./test/presubmit-tests.sh + - --run-test + - ./test/e2e-upgrade-tests.sh + name: upgrade-tests + types: + - presubmit +- command: + - runner.sh + - ./test/presubmit-tests.sh + - --run-test + - ./test/e2e-serving-upgrade-tests.sh + name: serving-upgrade-tests + types: + - presubmit +- command: + - runner.sh + - ./test/presubmit-tests.sh + - --run-test + - ./test/e2e-eventing-upgrade-tests.sh + name: eventing-upgrade-tests + types: + - presubmit +- command: + - runner.sh + - ./test/presubmit-tests.sh + - --all-tests + name: continuous + types: + - periodic +- args: + - bash + - -c + - | + mkdir -p /root/.kube + cat /opt/cluster/ci-script > connect.sh + chmod +x connect.sh + ./connect.sh operator-main + kubectl get cm s390x-config-operator -n default -o jsonpath='{.data.adjustment-script}' > adjust.sh + chmod +x adjust.sh + ./adjust.sh + ./test/e2e-tests.sh --run-tests + command: + - runner.sh + cron: 20 0 * * * + env: + - name: INGRESS_CLASS + value: contour.ingress.networking.knative.dev + name: s390x-e2e-tests + requirements: + - s390x + types: + - periodic +- args: + - bash + - -c + - | + cat /opt/cluster/ci-script > /tmp/connect.sh + chmod +x /tmp/connect.sh + . /tmp/connect.sh ${CI_JOB} + ./test/e2e-tests.sh --run-tests + command: + - runner.sh + cron: 0 13 * * * + env: + - name: CI_JOB + value: operator-main + - name: INGRESS_CLASS + value: contour.ingress.networking.knative.dev + name: ppc64le-e2e-tests + requirements: + - ppc64le + types: + - periodic +- command: + - runner.sh + - ./hack/release.sh + - --dot-release + - --release-gcs + - knative-releases/operator + - --release-gcr + - gcr.io/knative-releases + - --github-token + - /etc/hub-token/token + - --branch + - release-1.11 + excluded_requirements: + - gcp + max_concurrency: 1 + name: release + requirements: + - release + types: + - periodic +org: knative +repo: operator