diff --git a/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-master-presubmits.yaml b/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-master-presubmits.yaml index ad68bde6a7ebe..f52f229e04393 100644 --- a/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-master-presubmits.yaml +++ b/ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-master-presubmits.yaml @@ -55,6 +55,63 @@ presubmits: name: prow-job-cluster-launch-installer-e2e name: job-definition trigger: '(?m)^/test (?:.*? )?e2e-aws(?: .*?)?$' + - agent: kubernetes + always_run: true + branches: + - master + context: ci/prow/e2e-aws-upgrade + decorate: true + decoration_config: + skip_cloning: true + name: pull-ci-openshift-cluster-version-operator-master-e2e-aws-upgrade + rerun_command: /test e2e-aws-upgrade + spec: + containers: + - args: + - --artifact-dir=$(ARTIFACTS) + - --give-pr-author-access-to-namespace=true + - --secret-dir=/usr/local/e2e-aws-cluster-profile + - --target=e2e-aws-upgrade + - --template=/usr/local/e2e-aws-upgrade + command: + - ci-operator + env: + - name: CLUSTER_TYPE + value: aws + - name: CONFIG_SPEC + valueFrom: + configMapKeyRef: + key: openshift-cluster-version-operator-master.yaml + name: ci-operator-configs + - name: INSTALL_INITIAL_RELEASE + value: "1" + - name: JOB_NAME_SAFE + value: e2e-aws-upgrade + - name: TEST_COMMAND + value: TEST_SUITE=all run-upgrade-tests + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /usr/local/e2e-aws-cluster-profile + name: cluster-profile + - mountPath: /usr/local/e2e-aws-upgrade + name: job-definition + subPath: cluster-launch-installer-e2e.yaml + serviceAccountName: ci-operator + volumes: + - name: cluster-profile + projected: + sources: + - secret: + name: cluster-secrets-aws + - configMap: + name: prow-job-cluster-launch-installer-e2e + name: job-definition + trigger: '(?m)^/test (?:.*? )?e2e-aws-upgrade(?: .*?)?$' - agent: kubernetes always_run: true branches: