Skip to content

Commit 8d26492

Browse files
authored
Create presubsmit job for ImageStreamImportMode's test suite (#69661)
* Added ImageStreamImportMode to Origin's presubmit * ran make update
1 parent e91433a commit 8d26492

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed

ci-operator/config/openshift/origin/openshift-origin-main.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,15 @@ tests:
280280
enable:
281281
- observers-resource-watch
282282
workflow: openshift-upgrade-aws
283+
- always_run: false
284+
as: e2e-test-image-stream-import-mode
285+
optional: true
286+
steps:
287+
cluster_profile: aws
288+
env:
289+
TEST_SUITE: openshift/test-image-stream-import-mode
290+
workflow: openshift-e2e-aws
291+
timeout: 8h0m0s
283292
- always_run: false
284293
as: e2e-aws-ovn-upgrade-rollback
285294
optional: true

ci-operator/jobs/openshift/origin/openshift-origin-main-presubmits.yaml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5433,6 +5433,81 @@ presubmits:
54335433
secret:
54345434
secretName: result-aggregator
54355435
trigger: (?m)^/test( | .* )e2e-openstack-serial,?($|\s.*)
5436+
- agent: kubernetes
5437+
always_run: false
5438+
branches:
5439+
- ^main$
5440+
- ^main-
5441+
cluster: build09
5442+
context: ci/prow/e2e-test-image-stream-import-mode
5443+
decorate: true
5444+
decoration_config:
5445+
timeout: 8h0m0s
5446+
labels:
5447+
ci-operator.openshift.io/cloud: aws
5448+
ci-operator.openshift.io/cloud-cluster-profile: aws
5449+
ci.openshift.io/generator: prowgen
5450+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
5451+
name: pull-ci-openshift-origin-main-e2e-test-image-stream-import-mode
5452+
optional: true
5453+
rerun_command: /test e2e-test-image-stream-import-mode
5454+
spec:
5455+
containers:
5456+
- args:
5457+
- --gcs-upload-secret=/secrets/gcs/service-account.json
5458+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
5459+
- --lease-server-credentials-file=/etc/boskos/credentials
5460+
- --report-credentials-file=/etc/report/credentials
5461+
- --secret-dir=/secrets/ci-pull-credentials
5462+
- --target=e2e-test-image-stream-import-mode
5463+
command:
5464+
- ci-operator
5465+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
5466+
imagePullPolicy: Always
5467+
name: ""
5468+
resources:
5469+
requests:
5470+
cpu: 10m
5471+
volumeMounts:
5472+
- mountPath: /etc/boskos
5473+
name: boskos
5474+
readOnly: true
5475+
- mountPath: /secrets/ci-pull-credentials
5476+
name: ci-pull-credentials
5477+
readOnly: true
5478+
- mountPath: /secrets/gcs
5479+
name: gcs-credentials
5480+
readOnly: true
5481+
- mountPath: /secrets/manifest-tool
5482+
name: manifest-tool-local-pusher
5483+
readOnly: true
5484+
- mountPath: /etc/pull-secret
5485+
name: pull-secret
5486+
readOnly: true
5487+
- mountPath: /etc/report
5488+
name: result-aggregator
5489+
readOnly: true
5490+
serviceAccountName: ci-operator
5491+
volumes:
5492+
- name: boskos
5493+
secret:
5494+
items:
5495+
- key: credentials
5496+
path: credentials
5497+
secretName: boskos-credentials
5498+
- name: ci-pull-credentials
5499+
secret:
5500+
secretName: ci-pull-credentials
5501+
- name: manifest-tool-local-pusher
5502+
secret:
5503+
secretName: manifest-tool-local-pusher
5504+
- name: pull-secret
5505+
secret:
5506+
secretName: registry-pull-credentials
5507+
- name: result-aggregator
5508+
secret:
5509+
secretName: result-aggregator
5510+
trigger: (?m)^/test( | .* )e2e-test-image-stream-import-mode,?($|\s.*)
54365511
- agent: kubernetes
54375512
always_run: false
54385513
branches:

0 commit comments

Comments
 (0)