Skip to content

Commit f2315c0

Browse files
rachelvweberfracappa
authored andcommitted
Building ARO-RP e2e test image from source (openshift#82257)
1 parent 44a5dc2 commit f2315c0

4 files changed

Lines changed: 95 additions & 14 deletions

File tree

ci-operator/config/Azure/ARO-RP/Azure-ARO-RP-master__e2e.yaml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
11
base_images:
2-
aro-classic-e2e:
3-
name: aro-classic-ci-images
4-
namespace: aro-classic
5-
tag: aro-classic-e2e
2+
ubi9-minimal:
3+
name: ubi-minimal
4+
namespace: ocp
5+
tag: "9"
66
build_root:
77
image_stream_tag:
88
name: release
99
namespace: openshift
10-
tag: golang-1.25
10+
tag: rhel-9-release-golang-1.25-openshift-4.22
11+
images:
12+
items:
13+
- dockerfile_path: ./Dockerfile.aro-e2e
14+
from: ubi9-minimal
15+
inputs:
16+
src:
17+
as:
18+
- ${BUILDER_REGISTRY}/openshift-release-dev/golang-builder--partner-share:rhel-9-golang-1.25-openshift-4.21
19+
paths:
20+
- destination_dir: .
21+
source_path: /go/src/github.com/Azure/ARO-RP/.
22+
to: aro-classic-e2e
1123
releases:
1224
latest:
1325
integration:

ci-operator/jobs/Azure/ARO-RP/Azure-ARO-RP-master-postsubmits.yaml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ postsubmits:
77
cluster: build13
88
decorate: true
99
decoration_config:
10-
skip_cloning: true
10+
sparse_checkout_files:
11+
- ./Dockerfile.aro-e2e
1112
labels:
1213
ci-operator.openshift.io/cloud: aro-classic-int
1314
ci-operator.openshift.io/cloud-cluster-profile: aro-classic-int
@@ -88,7 +89,8 @@ postsubmits:
8889
cluster: build13
8990
decorate: true
9091
decoration_config:
91-
skip_cloning: true
92+
sparse_checkout_files:
93+
- ./Dockerfile.aro-e2e
9294
labels:
9395
ci-operator.openshift.io/cloud: aro-classic-int
9496
ci-operator.openshift.io/cloud-cluster-profile: aro-classic-int
@@ -169,7 +171,8 @@ postsubmits:
169171
cluster: build13
170172
decorate: true
171173
decoration_config:
172-
skip_cloning: true
174+
sparse_checkout_files:
175+
- ./Dockerfile.aro-e2e
173176
labels:
174177
ci-operator.openshift.io/cloud: aro-classic-int
175178
ci-operator.openshift.io/cloud-cluster-profile: aro-classic-int
@@ -250,7 +253,8 @@ postsubmits:
250253
cluster: build13
251254
decorate: true
252255
decoration_config:
253-
skip_cloning: true
256+
sparse_checkout_files:
257+
- ./Dockerfile.aro-e2e
254258
labels:
255259
ci-operator.openshift.io/cloud: aro-classic-prod
256260
ci-operator.openshift.io/cloud-cluster-profile: aro-classic-prod
@@ -331,7 +335,8 @@ postsubmits:
331335
cluster: build13
332336
decorate: true
333337
decoration_config:
334-
skip_cloning: true
338+
sparse_checkout_files:
339+
- ./Dockerfile.aro-e2e
335340
labels:
336341
ci-operator.openshift.io/cloud: aro-classic-prod
337342
ci-operator.openshift.io/cloud-cluster-profile: aro-classic-prod
@@ -412,7 +417,8 @@ postsubmits:
412417
cluster: build13
413418
decorate: true
414419
decoration_config:
415-
skip_cloning: true
420+
sparse_checkout_files:
421+
- ./Dockerfile.aro-e2e
416422
labels:
417423
ci-operator.openshift.io/cloud: aro-classic-prod
418424
ci-operator.openshift.io/cloud-cluster-profile: aro-classic-prod
@@ -493,7 +499,8 @@ postsubmits:
493499
cluster: build13
494500
decorate: true
495501
decoration_config:
496-
skip_cloning: true
502+
sparse_checkout_files:
503+
- ./Dockerfile.aro-e2e
497504
labels:
498505
ci-operator.openshift.io/cloud: aro-classic-stg
499506
ci-operator.openshift.io/cloud-cluster-profile: aro-classic-stg
@@ -574,7 +581,8 @@ postsubmits:
574581
cluster: build13
575582
decorate: true
576583
decoration_config:
577-
skip_cloning: true
584+
sparse_checkout_files:
585+
- ./Dockerfile.aro-e2e
578586
labels:
579587
ci-operator.openshift.io/cloud: aro-classic-stg
580588
ci-operator.openshift.io/cloud-cluster-profile: aro-classic-stg
@@ -655,7 +663,8 @@ postsubmits:
655663
cluster: build13
656664
decorate: true
657665
decoration_config:
658-
skip_cloning: true
666+
sparse_checkout_files:
667+
- ./Dockerfile.aro-e2e
659668
labels:
660669
ci-operator.openshift.io/cloud: aro-classic-stg
661670
ci-operator.openshift.io/cloud-cluster-profile: aro-classic-stg

ci-operator/jobs/Azure/ARO-RP/Azure-ARO-RP-master-presubmits.yaml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,63 @@
11
presubmits:
22
Azure/ARO-RP:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- ^master$
7+
- ^master-
8+
cluster: build12
9+
context: ci/prow/e2e-images
10+
decorate: true
11+
decoration_config:
12+
sparse_checkout_files:
13+
- ./Dockerfile.aro-e2e
14+
labels:
15+
ci-operator.openshift.io/variant: e2e
16+
ci.openshift.io/generator: prowgen
17+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
18+
name: pull-ci-Azure-ARO-RP-master-e2e-images
19+
rerun_command: /test e2e-images
20+
spec:
21+
containers:
22+
- args:
23+
- --gcs-upload-secret=/secrets/gcs/service-account.json
24+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
25+
- --report-credentials-file=/etc/report/credentials
26+
- --target=[images]
27+
- --variant=e2e
28+
command:
29+
- ci-operator
30+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
31+
imagePullPolicy: Always
32+
name: ""
33+
resources:
34+
requests:
35+
cpu: 10m
36+
volumeMounts:
37+
- mountPath: /secrets/gcs
38+
name: gcs-credentials
39+
readOnly: true
40+
- mountPath: /secrets/manifest-tool
41+
name: manifest-tool-local-pusher
42+
readOnly: true
43+
- mountPath: /etc/pull-secret
44+
name: pull-secret
45+
readOnly: true
46+
- mountPath: /etc/report
47+
name: result-aggregator
48+
readOnly: true
49+
serviceAccountName: ci-operator
50+
volumes:
51+
- name: manifest-tool-local-pusher
52+
secret:
53+
secretName: manifest-tool-local-pusher
54+
- name: pull-secret
55+
secret:
56+
secretName: registry-pull-credentials
57+
- name: result-aggregator
58+
secret:
59+
secretName: result-aggregator
60+
trigger: (?m)^/test( | .* )e2e-images,?($|\s.*)
361
- agent: kubernetes
462
always_run: false
563
branches:

ci-operator/jobs/Azure/ARO-RP/OWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ approvers:
33
- hlipsig
44
- tsatam
55
- wanghaoran1988
6+
- stevekuznetsov
67
reviewers:
78
- mociarain
89
- hlipsig
910
- tsatam
1011
- wanghaoran1988
12+
- stevekuznetsov

0 commit comments

Comments
 (0)