diff --git a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml index 81fcc1b9d9c38..c25a7f8733ddc 100644 --- a/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml +++ b/ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-master.yaml @@ -59,6 +59,10 @@ tests: run-tests openshift_installer: cluster_profile: aws +- as: cluster-bootimages + commands: ./test/e2e/old-bootimages.sh + openshift_installer_src: + cluster_profile: aws - as: e2e-vsphere-upi commands: TEST_SUITE=openshift/conformance/parallel run-tests openshift_installer_upi: diff --git a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml index 9d1bad82b73e4..4ef877dee6772 100644 --- a/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-master-presubmits.yaml @@ -1,5 +1,82 @@ presubmits: openshift/machine-config-operator: + - agent: kubernetes + always_run: false + branches: + - master + cluster: api.ci + context: ci/prow/cluster-bootimages + decorate: true + decoration_config: + skip_cloning: true + labels: + ci-operator.openshift.io/prowgen-controlled: "true" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: pull-ci-openshift-machine-config-operator-master-cluster-bootimages + rerun_command: /test cluster-bootimages + spec: + containers: + - args: + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-password-file=/etc/boskos/password + - --report-password-file=/etc/report/password.txt + - --report-username=ci + - --secret-dir=/usr/local/cluster-bootimages-cluster-profile + - --target=cluster-bootimages + - --template=/usr/local/cluster-bootimages + command: + - ci-operator + env: + - name: CLUSTER_TYPE + value: aws + - name: JOB_NAME_SAFE + value: cluster-bootimages + - name: TEST_COMMAND + value: ./test/e2e/old-bootimages.sh + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /usr/local/cluster-bootimages-cluster-profile + name: cluster-profile + - mountPath: /usr/local/cluster-bootimages + name: job-definition + subPath: cluster-launch-installer-src.yaml + - 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: password + path: password + secretName: boskos-credentials + - name: cluster-profile + projected: + sources: + - secret: + name: cluster-secrets-aws + - configMap: + name: prow-job-cluster-launch-installer-src + name: job-definition + - name: pull-secret + secret: + secretName: regcred + - name: result-aggregator + secret: + secretName: result-aggregator + trigger: (?m)^/test( | .* )cluster-bootimages,?($|\s.*) - agent: kubernetes always_run: false branches: