Skip to content

Commit ce9361b

Browse files
committed
cluster-version-operator: add aws-upi optional job
1 parent 0483631 commit ce9361b

File tree

2 files changed

+75
-0
lines changed

2 files changed

+75
-0
lines changed

ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-master.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ tests:
3737
openshift_installer:
3838
cluster_profile: aws
3939
upgrade: true
40+
- as: e2e-aws-upi
41+
commands: TEST_SUITE=openshift/conformance/parallel run-tests
42+
openshift_installer_upi:
43+
cluster_profile: aws

ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-master-presubmits.yaml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,77 @@ presubmits:
127127
secret:
128128
secretName: sentry-dsn
129129
trigger: (?m)^/test( | .* )e2e-aws-upgrade,?($|\s.*)
130+
- agent: kubernetes
131+
always_run: false
132+
branches:
133+
- master
134+
context: ci/prow/e2e-aws-upi
135+
decorate: true
136+
decoration_config:
137+
skip_cloning: true
138+
labels:
139+
ci-operator.openshift.io/prowgen-controlled: "true"
140+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
141+
name: pull-ci-openshift-cluster-version-operator-master-e2e-aws-upi
142+
optional: true
143+
rerun_command: /test e2e-aws-upi
144+
spec:
145+
containers:
146+
- args:
147+
- --artifact-dir=$(ARTIFACTS)
148+
- --branch=master
149+
- --give-pr-author-access-to-namespace=true
150+
- --lease-server=http://boskos
151+
- --org=openshift
152+
- --repo=cluster-version-operator
153+
- --resolver-address=http://ci-operator-configresolver-ci.svc.ci.openshift.org
154+
- --secret-dir=/usr/local/e2e-aws-upi-cluster-profile
155+
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
156+
- --target=e2e-aws-upi
157+
- --template=/usr/local/e2e-aws-upi
158+
command:
159+
- ci-operator
160+
env:
161+
- name: CLUSTER_TYPE
162+
value: aws
163+
- name: CONFIG_SPEC
164+
valueFrom:
165+
configMapKeyRef:
166+
key: openshift-cluster-version-operator-master.yaml
167+
name: ci-operator-master-configs
168+
- name: JOB_NAME_SAFE
169+
value: e2e-aws-upi
170+
- name: TEST_COMMAND
171+
value: TEST_SUITE=openshift/conformance/parallel run-tests
172+
image: ci-operator:latest
173+
imagePullPolicy: Always
174+
name: ""
175+
resources:
176+
requests:
177+
cpu: 10m
178+
volumeMounts:
179+
- mountPath: /usr/local/e2e-aws-upi-cluster-profile
180+
name: cluster-profile
181+
- mountPath: /usr/local/e2e-aws-upi
182+
name: job-definition
183+
subPath: cluster-launch-installer-upi-e2e.yaml
184+
- mountPath: /etc/sentry-dsn
185+
name: sentry-dsn
186+
readOnly: true
187+
serviceAccountName: ci-operator
188+
volumes:
189+
- name: cluster-profile
190+
projected:
191+
sources:
192+
- secret:
193+
name: cluster-secrets-aws
194+
- configMap:
195+
name: prow-job-cluster-launch-installer-upi-e2e
196+
name: job-definition
197+
- name: sentry-dsn
198+
secret:
199+
secretName: sentry-dsn
200+
trigger: (?m)^/test( | .* )e2e-aws-upi,?($|\s.*)
130201
- agent: kubernetes
131202
always_run: true
132203
branches:

0 commit comments

Comments
 (0)