diff --git a/ci-operator/config/openshift/oadp-operator/openshift-oadp-operator-master__4.19.yaml b/ci-operator/config/openshift/oadp-operator/openshift-oadp-operator-master__4.19.yaml new file mode 100644 index 0000000000000..c776601d24a6a --- /dev/null +++ b/ci-operator/config/openshift/oadp-operator/openshift-oadp-operator-master__4.19.yaml @@ -0,0 +1,91 @@ +build_root: + image_stream_tag: + name: builder + namespace: konveyor + tag: ubi9-v1.22.2 +images: +- dockerfile_path: Dockerfile + to: oadp-operator +- dockerfile_path: build/ci-Dockerfile + to: test-oadp-operator +operator: + bundles: + - dockerfile_path: build/Dockerfile.bundle + substitutions: + - pullspec: quay.io/konveyor/oadp-operator:latest + with: oadp-operator +releases: + latest: + candidate: + product: ocp + stream: nightly + version: "4.19" +resources: + '*': + limits: + memory: 4Gi + requests: + cpu: 1000m + memory: 512Mi +tests: +- always_run: false + as: e2e-test-aws + optional: true + run_if_changed: .+\.go|go\.(\bmod\b|\bsum\b)|Makefile|Dockerfile|.dockerignore|.*\.ya{0,1}ml|build/.+ + steps: + cluster_profile: aws + dependencies: + OO_INDEX: ci-index + env: + FEATURE_GATES: '[''OpenShiftPodSecurityAdmission=false'']' + FEATURE_SET: CustomNoUpgrade + OO_CHANNEL: stable + OO_INSTALL_NAMESPACE: openshift-adp + OO_PACKAGE: oadp-operator + OO_TARGET_NAMESPACES: '!install' + test: + - as: e2e + cli: latest + commands: make test-e2e + credentials: + - mount_path: /var/run/oadp-credentials + name: oadp-credentials + namespace: test-credentials + from: test-oadp-operator + resources: + requests: + cpu: 1000m + memory: 512Mi + workflow: optional-operators-ci-aws +- as: e2e-test-aws-periodic + cron: 0 4 * * * + steps: + cluster_profile: aws + dependencies: + OO_INDEX: ci-index + env: + FEATURE_GATES: '[''OpenShiftPodSecurityAdmission=false'']' + FEATURE_SET: CustomNoUpgrade + OO_CHANNEL: stable + OO_INSTALL_NAMESPACE: openshift-adp + OO_PACKAGE: oadp-operator + OO_TARGET_NAMESPACES: '!install' + test: + - as: e2e + cli: latest + commands: make test-e2e + credentials: + - mount_path: /var/run/oadp-credentials + name: oadp-credentials + namespace: test-credentials + from: test-oadp-operator + resources: + requests: + cpu: 1000m + memory: 512Mi + workflow: optional-operators-ci-aws +zz_generated_metadata: + branch: master + org: openshift + repo: oadp-operator + variant: "4.19" diff --git a/ci-operator/jobs/openshift/oadp-operator/openshift-oadp-operator-master-periodics.yaml b/ci-operator/jobs/openshift/oadp-operator/openshift-oadp-operator-master-periodics.yaml index 1e02fc728ff94..f99a8e0b49f5d 100644 --- a/ci-operator/jobs/openshift/oadp-operator/openshift-oadp-operator-master-periodics.yaml +++ b/ci-operator/jobs/openshift/oadp-operator/openshift-oadp-operator-master-periodics.yaml @@ -593,7 +593,7 @@ periodics: secret: secretName: result-aggregator - agent: kubernetes - cluster: build11 + cluster: build09 cron: 0 4 * * * decorate: true decoration_config: @@ -603,9 +603,13 @@ periodics: org: openshift repo: oadp-operator labels: + ci-operator.openshift.io/cloud: aws + ci-operator.openshift.io/cloud-cluster-profile: aws + ci-operator.openshift.io/variant: "4.19" ci.openshift.io/generator: prowgen + job-release: "4.19" pj-rehearse.openshift.io/can-be-rehearsed: "true" - name: periodic-ci-openshift-oadp-operator-master-unit-test-periodic + name: periodic-ci-openshift-oadp-operator-master-4.19-e2e-test-aws-periodic reporter_config: slack: channel: '#oadp-cicd' @@ -621,8 +625,11 @@ periodics: - args: - --gcs-upload-secret=/secrets/gcs/service-account.json - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials - --report-credentials-file=/etc/report/credentials - - --target=unit-test-periodic + - --secret-dir=/secrets/ci-pull-credentials + - --target=e2e-test-aws-periodic + - --variant=4.19 command: - ci-operator image: ci-operator:latest @@ -632,6 +639,12 @@ periodics: requests: cpu: 10m volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true - mountPath: /secrets/gcs name: gcs-credentials readOnly: true @@ -646,6 +659,15 @@ periodics: readOnly: true serviceAccountName: ci-operator volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: ci-pull-credentials + secret: + secretName: ci-pull-credentials - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher diff --git a/ci-operator/jobs/openshift/oadp-operator/openshift-oadp-operator-master-presubmits.yaml b/ci-operator/jobs/openshift/oadp-operator/openshift-oadp-operator-master-presubmits.yaml index 7edc3bad127f7..b4b09ffa81a0e 100644 --- a/ci-operator/jobs/openshift/oadp-operator/openshift-oadp-operator-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/oadp-operator/openshift-oadp-operator-master-presubmits.yaml @@ -1275,6 +1275,201 @@ presubmits: secret: secretName: result-aggregator trigger: (?m)^/test( | .* )4.18-images,?($|\s.*) + - agent: kubernetes + always_run: true + branches: + - ^master$ + - ^master- + cluster: build11 + context: ci/prow/4.19-ci-index + decorate: true + decoration_config: + skip_cloning: true + labels: + ci-operator.openshift.io/variant: "4.19" + ci.openshift.io/generator: prowgen + job-release: "4.19" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-oadp-operator-master-4.19-ci-index + rerun_command: /test 4.19-ci-index + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --report-credentials-file=/etc/report/credentials + - --target=ci-index + - --variant=4.19 + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator + trigger: (?m)^/test( | .* )4.19-ci-index,?($|\s.*) + - agent: kubernetes + always_run: false + branches: + - ^master$ + - ^master- + cluster: build10 + context: ci/prow/4.19-e2e-test-aws + decorate: true + decoration_config: + skip_cloning: true + labels: + ci-operator.openshift.io/cloud: aws + ci-operator.openshift.io/cloud-cluster-profile: aws + ci-operator.openshift.io/variant: "4.19" + ci.openshift.io/generator: prowgen + job-release: "4.19" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-oadp-operator-master-4.19-e2e-test-aws + optional: true + rerun_command: /test 4.19-e2e-test-aws + run_if_changed: .+\.go|go\.(\bmod\b|\bsum\b)|Makefile|Dockerfile|.dockerignore|.*\.ya{0,1}ml|build/.+ + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --target=e2e-test-aws + - --variant=4.19 + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: ci-pull-credentials + secret: + secretName: ci-pull-credentials + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator + trigger: (?m)^/test( | .* )4.19-e2e-test-aws,?($|\s.*) + - agent: kubernetes + always_run: true + branches: + - ^master$ + - ^master- + cluster: build11 + context: ci/prow/4.19-images + decorate: true + decoration_config: + skip_cloning: true + labels: + ci-operator.openshift.io/variant: "4.19" + ci.openshift.io/generator: prowgen + job-release: "4.19" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-oadp-operator-master-4.19-images + rerun_command: /test 4.19-images + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --report-credentials-file=/etc/report/credentials + - --target=[images] + - --variant=4.19 + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator + trigger: (?m)^/test( | .* )4.19-images,?($|\s.*) - agent: kubernetes always_run: true branches: