diff --git a/ci-operator/config/openshift/installer/openshift-installer-master.yaml b/ci-operator/config/openshift/installer/openshift-installer-master.yaml index 46d253f9b0f68..3c03c139905cc 100644 --- a/ci-operator/config/openshift/installer/openshift-installer-master.yaml +++ b/ci-operator/config/openshift/installer/openshift-installer-master.yaml @@ -78,3 +78,7 @@ tests: commands: TEST_SUITE=openshift/smoke-4 run-tests run-tests openshift_installer: cluster_profile: openstack +- as: e2e-byor + commands: TEST_SUITE=openshift/smoke-4 run-tests + openshift_ansible_40: + cluster_profile: gcp-40 diff --git a/ci-operator/jobs/openshift/installer/openshift-installer-master-presubmits.yaml b/ci-operator/jobs/openshift/installer/openshift-installer-master-presubmits.yaml index a42bfa0a5bc13..6681afb29958b 100644 --- a/ci-operator/jobs/openshift/installer/openshift-installer-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/installer/openshift-installer-master-presubmits.yaml @@ -115,6 +115,67 @@ presubmits: name: prow-job-cluster-launch-installer-e2e name: job-definition trigger: ((?m)^/test( all| e2e-aws-all),?(\s+|$)) + - agent: kubernetes + always_run: false + branches: + - master + context: ci/prow/e2e-byor + decorate: true + name: pull-ci-openshift-installer-master-e2e-byor + optional: true + rerun_command: /test e2e-byor + skip_cloning: true + spec: + containers: + - args: + - --artifact-dir=$(ARTIFACTS) + - --give-pr-author-access-to-namespace=true + - --secret-dir=/usr/local/e2e-byor-cluster-profile + - --target=e2e-byor + - --template=/usr/local/e2e-byor + command: + - ci-operator + env: + - name: CLUSTER_TYPE + value: gcp + - name: CONFIG_SPEC + valueFrom: + configMapKeyRef: + key: openshift-installer-master.yaml + name: ci-operator-configs + - name: JOB_NAME_SAFE + value: e2e-byor + - name: RPM_REPO_OPENSHIFT_ORIGIN + value: https://rpms.svc.ci.openshift.org/openshift-origin-v4.0/ + - name: TEST_COMMAND + value: TEST_SUITE=openshift/smoke-4 run-tests + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + limits: + cpu: 500m + requests: + cpu: 10m + volumeMounts: + - mountPath: /usr/local/e2e-byor-cluster-profile + name: cluster-profile + - mountPath: /usr/local/e2e-byor + name: job-definition + subPath: cluster-launch-e2e-40.yaml + serviceAccountName: ci-operator + volumes: + - name: cluster-profile + projected: + sources: + - secret: + name: cluster-secrets-gcp + - configMap: + name: cluster-profile-gcp-40 + - configMap: + name: prow-job-cluster-launch-e2e-40 + name: job-definition + trigger: ((?m)^/test( all| e2e-byor),?(\s+|$)) - agent: kubernetes always_run: false branches: