Skip to content

Commit 9b10282

Browse files
maxcao13grantsydney
authored andcommitted
VPA: Add component e2e presubmit jobs (#71170)
Adds jobs for admission-controller, recommender, updater, and actuation test suites. Signed-off-by: Max Cao <[email protected]>
1 parent d260795 commit 9b10282

File tree

2 files changed

+203
-0
lines changed

2 files changed

+203
-0
lines changed

ci-operator/config/openshift/vertical-pod-autoscaler-operator/openshift-vertical-pod-autoscaler-operator-main.yaml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,63 @@ tests:
218218
requests:
219219
cpu: 100m
220220
workflow: ipi-aws
221+
- as: e2e-aws-operator-components
222+
skip_if_only_changed: ^docs/|^\.github|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|OWNERS_ALIASES|PROJECT|LICENSE)$
223+
steps:
224+
cluster_profile: aws
225+
test:
226+
- as: deploy
227+
cli: latest
228+
commands: KUBECTL=$(which oc) make deploy
229+
dependencies:
230+
- env: OPERATOR_IMG
231+
name: vertical-pod-autoscaler-operator
232+
- env: OPERAND_IMG
233+
name: vertical-pod-autoscaler
234+
from: src
235+
resources:
236+
requests:
237+
cpu: 100m
238+
- as: admission-controller
239+
cli: latest
240+
commands: SUITE=admission-controller KUBECTL=$(which oc) make test-e2e
241+
from: src
242+
resources:
243+
requests:
244+
cpu: 100m
245+
- as: recommender
246+
cli: latest
247+
commands: SUITE=recommender KUBECTL=$(which oc) make test-e2e
248+
from: src
249+
resources:
250+
requests:
251+
cpu: 100m
252+
- as: updater
253+
cli: latest
254+
commands: SUITE=updater KUBECTL=$(which oc) make test-e2e
255+
from: src
256+
resources:
257+
requests:
258+
cpu: 100m
259+
workflow: ipi-aws
260+
- as: e2e-aws-operator-actuation
261+
skip_if_only_changed: ^docs/|^\.github|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|OWNERS_ALIASES|PROJECT|LICENSE)$
262+
steps:
263+
cluster_profile: aws-2
264+
test:
265+
- as: test
266+
cli: latest
267+
commands: SUITE=actuation make e2e-ci
268+
dependencies:
269+
- env: OPERATOR_IMG
270+
name: vertical-pod-autoscaler-operator
271+
- env: OPERAND_IMG
272+
name: vertical-pod-autoscaler
273+
from: src
274+
resources:
275+
requests:
276+
cpu: 100m
277+
workflow: ipi-aws
221278
- as: scorecard
222279
optional: true
223280
skip_if_only_changed: ^docs/|^\.github|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|OWNERS_ALIASES|PROJECT|LICENSE)$

ci-operator/jobs/openshift/vertical-pod-autoscaler-operator/openshift-vertical-pod-autoscaler-operator-main-presubmits.yaml

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,152 @@ presubmits:
199199
secret:
200200
secretName: result-aggregator
201201
trigger: (?m)^/test( | .* )e2e-aws-operator,?($|\s.*)
202+
- agent: kubernetes
203+
always_run: false
204+
branches:
205+
- ^main$
206+
- ^main-
207+
cluster: build11
208+
context: ci/prow/e2e-aws-operator-actuation
209+
decorate: true
210+
labels:
211+
ci-operator.openshift.io/cloud: aws
212+
ci-operator.openshift.io/cloud-cluster-profile: aws-2
213+
ci.openshift.io/generator: prowgen
214+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
215+
name: pull-ci-openshift-vertical-pod-autoscaler-operator-main-e2e-aws-operator-actuation
216+
rerun_command: /test e2e-aws-operator-actuation
217+
skip_if_only_changed: ^docs/|^\.github|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|OWNERS_ALIASES|PROJECT|LICENSE)$
218+
spec:
219+
containers:
220+
- args:
221+
- --gcs-upload-secret=/secrets/gcs/service-account.json
222+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
223+
- --lease-server-credentials-file=/etc/boskos/credentials
224+
- --report-credentials-file=/etc/report/credentials
225+
- --secret-dir=/secrets/ci-pull-credentials
226+
- --target=e2e-aws-operator-actuation
227+
command:
228+
- ci-operator
229+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
230+
imagePullPolicy: Always
231+
name: ""
232+
resources:
233+
requests:
234+
cpu: 10m
235+
volumeMounts:
236+
- mountPath: /etc/boskos
237+
name: boskos
238+
readOnly: true
239+
- mountPath: /secrets/ci-pull-credentials
240+
name: ci-pull-credentials
241+
readOnly: true
242+
- mountPath: /secrets/gcs
243+
name: gcs-credentials
244+
readOnly: true
245+
- mountPath: /secrets/manifest-tool
246+
name: manifest-tool-local-pusher
247+
readOnly: true
248+
- mountPath: /etc/pull-secret
249+
name: pull-secret
250+
readOnly: true
251+
- mountPath: /etc/report
252+
name: result-aggregator
253+
readOnly: true
254+
serviceAccountName: ci-operator
255+
volumes:
256+
- name: boskos
257+
secret:
258+
items:
259+
- key: credentials
260+
path: credentials
261+
secretName: boskos-credentials
262+
- name: ci-pull-credentials
263+
secret:
264+
secretName: ci-pull-credentials
265+
- name: manifest-tool-local-pusher
266+
secret:
267+
secretName: manifest-tool-local-pusher
268+
- name: pull-secret
269+
secret:
270+
secretName: registry-pull-credentials
271+
- name: result-aggregator
272+
secret:
273+
secretName: result-aggregator
274+
trigger: (?m)^/test( | .* )e2e-aws-operator-actuation,?($|\s.*)
275+
- agent: kubernetes
276+
always_run: false
277+
branches:
278+
- ^main$
279+
- ^main-
280+
cluster: build11
281+
context: ci/prow/e2e-aws-operator-components
282+
decorate: true
283+
labels:
284+
ci-operator.openshift.io/cloud: aws
285+
ci-operator.openshift.io/cloud-cluster-profile: aws
286+
ci.openshift.io/generator: prowgen
287+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
288+
name: pull-ci-openshift-vertical-pod-autoscaler-operator-main-e2e-aws-operator-components
289+
rerun_command: /test e2e-aws-operator-components
290+
skip_if_only_changed: ^docs/|^\.github|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|OWNERS_ALIASES|PROJECT|LICENSE)$
291+
spec:
292+
containers:
293+
- args:
294+
- --gcs-upload-secret=/secrets/gcs/service-account.json
295+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
296+
- --lease-server-credentials-file=/etc/boskos/credentials
297+
- --report-credentials-file=/etc/report/credentials
298+
- --secret-dir=/secrets/ci-pull-credentials
299+
- --target=e2e-aws-operator-components
300+
command:
301+
- ci-operator
302+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
303+
imagePullPolicy: Always
304+
name: ""
305+
resources:
306+
requests:
307+
cpu: 10m
308+
volumeMounts:
309+
- mountPath: /etc/boskos
310+
name: boskos
311+
readOnly: true
312+
- mountPath: /secrets/ci-pull-credentials
313+
name: ci-pull-credentials
314+
readOnly: true
315+
- mountPath: /secrets/gcs
316+
name: gcs-credentials
317+
readOnly: true
318+
- mountPath: /secrets/manifest-tool
319+
name: manifest-tool-local-pusher
320+
readOnly: true
321+
- mountPath: /etc/pull-secret
322+
name: pull-secret
323+
readOnly: true
324+
- mountPath: /etc/report
325+
name: result-aggregator
326+
readOnly: true
327+
serviceAccountName: ci-operator
328+
volumes:
329+
- name: boskos
330+
secret:
331+
items:
332+
- key: credentials
333+
path: credentials
334+
secretName: boskos-credentials
335+
- name: ci-pull-credentials
336+
secret:
337+
secretName: ci-pull-credentials
338+
- name: manifest-tool-local-pusher
339+
secret:
340+
secretName: manifest-tool-local-pusher
341+
- name: pull-secret
342+
secret:
343+
secretName: registry-pull-credentials
344+
- name: result-aggregator
345+
secret:
346+
secretName: result-aggregator
347+
trigger: (?m)^/test( | .* )e2e-aws-operator-components,?($|\s.*)
202348
- agent: kubernetes
203349
always_run: false
204350
branches:

0 commit comments

Comments
 (0)