diff --git a/ci-operator/config/stolostron/console-e2e/OWNERS b/ci-operator/config/stolostron/console-e2e/OWNERS new file mode 100644 index 0000000000000..f63bba8e57153 --- /dev/null +++ b/ci-operator/config/stolostron/console-e2e/OWNERS @@ -0,0 +1,7 @@ +approvers: +- cspi-qe-ocp-lp +- dtthuynh +options: {} +reviewers: +- cspi-qe-ocp-lp +- dtthuynh diff --git a/ci-operator/config/stolostron/console-e2e/stolostron-console-e2e-main.yaml b/ci-operator/config/stolostron/console-e2e/stolostron-console-e2e-main.yaml new file mode 100644 index 0000000000000..31e7828346c02 --- /dev/null +++ b/ci-operator/config/stolostron/console-e2e/stolostron-console-e2e-main.yaml @@ -0,0 +1,25 @@ +build_root: + image_stream_tag: + name: release + namespace: openshift + tag: rhel-8-release-golang-1.17-openshift-4.11 +images: + items: + - dockerfile_path: Dockerfile.interop + to: console-e2e +promotion: + to: + - name: main + namespace: acm-qe +prowgen: + expose: true + private: true +resources: + '*': + requests: + cpu: 100m + memory: 200Mi +zz_generated_metadata: + branch: main + org: stolostron + repo: console-e2e diff --git a/ci-operator/jobs/stolostron/console-e2e/OWNERS b/ci-operator/jobs/stolostron/console-e2e/OWNERS new file mode 100644 index 0000000000000..f63bba8e57153 --- /dev/null +++ b/ci-operator/jobs/stolostron/console-e2e/OWNERS @@ -0,0 +1,7 @@ +approvers: +- cspi-qe-ocp-lp +- dtthuynh +options: {} +reviewers: +- cspi-qe-ocp-lp +- dtthuynh diff --git a/ci-operator/jobs/stolostron/console-e2e/stolostron-console-e2e-main-postsubmits.yaml b/ci-operator/jobs/stolostron/console-e2e/stolostron-console-e2e-main-postsubmits.yaml new file mode 100644 index 0000000000000..7cfc010c671ac --- /dev/null +++ b/ci-operator/jobs/stolostron/console-e2e/stolostron-console-e2e-main-postsubmits.yaml @@ -0,0 +1,70 @@ +postsubmits: + stolostron/console-e2e: + - agent: kubernetes + always_run: true + branches: + - ^main$ + cluster: build01 + decorate: true + decoration_config: + oauth_token_secret: + key: oauth + name: github-credentials-openshift-ci-robot-private-git-cloner + sparse_checkout_files: + - Dockerfile.interop + labels: + ci-operator.openshift.io/is-promotion: "true" + ci.openshift.io/generator: prowgen + max_concurrency: 1 + name: branch-ci-stolostron-console-e2e-main-images + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson + - --oauth-token-path=/usr/local/github-credentials/oauth + - --promote + - --report-credentials-file=/etc/report/credentials + - --target=[images] + command: + - ci-operator + image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /usr/local/github-credentials + name: github-credentials-openshift-ci-robot-private-git-cloner + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/push-secret + name: push-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: push-secret + secret: + secretName: registry-push-credentials-ci-central + - name: result-aggregator + secret: + secretName: result-aggregator diff --git a/ci-operator/jobs/stolostron/console-e2e/stolostron-console-e2e-main-presubmits.yaml b/ci-operator/jobs/stolostron/console-e2e/stolostron-console-e2e-main-presubmits.yaml new file mode 100644 index 0000000000000..71ac92c0908a2 --- /dev/null +++ b/ci-operator/jobs/stolostron/console-e2e/stolostron-console-e2e-main-presubmits.yaml @@ -0,0 +1,65 @@ +presubmits: + stolostron/console-e2e: + - agent: kubernetes + always_run: true + branches: + - ^main$ + - ^main- + cluster: build01 + context: ci/prow/images + decorate: true + decoration_config: + oauth_token_secret: + key: oauth + name: github-credentials-openshift-ci-robot-private-git-cloner + sparse_checkout_files: + - Dockerfile.interop + labels: + ci.openshift.io/generator: prowgen + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-stolostron-console-e2e-main-images + rerun_command: /test images + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --oauth-token-path=/usr/local/github-credentials/oauth + - --report-credentials-file=/etc/report/credentials + - --target=[images] + command: + - ci-operator + image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /usr/local/github-credentials + name: github-credentials-openshift-ci-robot-private-git-cloner + 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( | .* )images,?($|\s.*)