Skip to content

Commit fde31fa

Browse files
authored
AGENT-995: dev-scripts jobs to test control plane with 4 and 5 replicas (openshift#58649)
The jobs are optional.
1 parent eecfe01 commit fde31fa

File tree

2 files changed

+178
-0
lines changed

2 files changed

+178
-0
lines changed

ci-operator/config/openshift-metal3/dev-scripts/openshift-metal3-dev-scripts-master.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,28 @@ tests:
153153
MIRROR_IMAGES=true
154154
workflow: agent-e2e-generic
155155
timeout: 6h0m0s
156+
- as: e2e-agent-4control-ipv4
157+
cluster: build05
158+
optional: true
159+
skip_if_only_changed: (^docs|.github/)|^config_example.sh$|\.md$|^(DCO|LICENSE)$|((^|/)OWNERS$)
160+
steps:
161+
cluster_profile: equinix-ocp-metal
162+
env:
163+
DEVSCRIPTS_CONFIG: |
164+
AGENT_E2E_TEST_SCENARIO=4CONTROL_IPV4
165+
workflow: agent-e2e-generic
166+
timeout: 6h0m0s
167+
- as: e2e-agent-5control-ipv4
168+
cluster: build05
169+
optional: true
170+
skip_if_only_changed: (^docs|.github/)|^config_example.sh$|\.md$|^(DCO|LICENSE)$|((^|/)OWNERS$)
171+
steps:
172+
cluster_profile: equinix-ocp-metal
173+
env:
174+
DEVSCRIPTS_CONFIG: |
175+
AGENT_E2E_TEST_SCENARIO=5CONTROL_IPV4
176+
workflow: agent-e2e-generic
177+
timeout: 6h0m0s
156178
zz_generated_metadata:
157179
branch: master
158180
org: openshift-metal3

ci-operator/jobs/openshift-metal3/dev-scripts/openshift-metal3-dev-scripts-master-presubmits.yaml

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,161 @@
11
presubmits:
22
openshift-metal3/dev-scripts:
3+
- agent: kubernetes
4+
always_run: false
5+
branches:
6+
- ^master$
7+
- ^master-
8+
cluster: build05
9+
context: ci/prow/e2e-agent-4control-ipv4
10+
decorate: true
11+
decoration_config:
12+
skip_cloning: true
13+
timeout: 6h0m0s
14+
labels:
15+
ci-operator.openshift.io/cloud: equinix-ocp-metal
16+
ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-metal
17+
ci-operator.openshift.io/cluster: build05
18+
ci.openshift.io/generator: prowgen
19+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
20+
name: pull-ci-openshift-metal3-dev-scripts-master-e2e-agent-4control-ipv4
21+
optional: true
22+
rerun_command: /test e2e-agent-4control-ipv4
23+
skip_if_only_changed: (^docs|.github/)|^config_example.sh$|\.md$|^(DCO|LICENSE)$|((^|/)OWNERS$)
24+
spec:
25+
containers:
26+
- args:
27+
- --gcs-upload-secret=/secrets/gcs/service-account.json
28+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
29+
- --lease-server-credentials-file=/etc/boskos/credentials
30+
- --report-credentials-file=/etc/report/credentials
31+
- --secret-dir=/secrets/ci-pull-credentials
32+
- --target=e2e-agent-4control-ipv4
33+
command:
34+
- ci-operator
35+
image: ci-operator:latest
36+
imagePullPolicy: Always
37+
name: ""
38+
resources:
39+
requests:
40+
cpu: 10m
41+
volumeMounts:
42+
- mountPath: /etc/boskos
43+
name: boskos
44+
readOnly: true
45+
- mountPath: /secrets/ci-pull-credentials
46+
name: ci-pull-credentials
47+
readOnly: true
48+
- mountPath: /secrets/gcs
49+
name: gcs-credentials
50+
readOnly: true
51+
- mountPath: /secrets/manifest-tool
52+
name: manifest-tool-local-pusher
53+
readOnly: true
54+
- mountPath: /etc/pull-secret
55+
name: pull-secret
56+
readOnly: true
57+
- mountPath: /etc/report
58+
name: result-aggregator
59+
readOnly: true
60+
serviceAccountName: ci-operator
61+
volumes:
62+
- name: boskos
63+
secret:
64+
items:
65+
- key: credentials
66+
path: credentials
67+
secretName: boskos-credentials
68+
- name: ci-pull-credentials
69+
secret:
70+
secretName: ci-pull-credentials
71+
- name: manifest-tool-local-pusher
72+
secret:
73+
secretName: manifest-tool-local-pusher
74+
- name: pull-secret
75+
secret:
76+
secretName: registry-pull-credentials
77+
- name: result-aggregator
78+
secret:
79+
secretName: result-aggregator
80+
trigger: (?m)^/test( | .* )e2e-agent-4control-ipv4,?($|\s.*)
81+
- agent: kubernetes
82+
always_run: false
83+
branches:
84+
- ^master$
85+
- ^master-
86+
cluster: build05
87+
context: ci/prow/e2e-agent-5control-ipv4
88+
decorate: true
89+
decoration_config:
90+
skip_cloning: true
91+
timeout: 6h0m0s
92+
labels:
93+
ci-operator.openshift.io/cloud: equinix-ocp-metal
94+
ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-metal
95+
ci-operator.openshift.io/cluster: build05
96+
ci.openshift.io/generator: prowgen
97+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
98+
name: pull-ci-openshift-metal3-dev-scripts-master-e2e-agent-5control-ipv4
99+
optional: true
100+
rerun_command: /test e2e-agent-5control-ipv4
101+
skip_if_only_changed: (^docs|.github/)|^config_example.sh$|\.md$|^(DCO|LICENSE)$|((^|/)OWNERS$)
102+
spec:
103+
containers:
104+
- args:
105+
- --gcs-upload-secret=/secrets/gcs/service-account.json
106+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
107+
- --lease-server-credentials-file=/etc/boskos/credentials
108+
- --report-credentials-file=/etc/report/credentials
109+
- --secret-dir=/secrets/ci-pull-credentials
110+
- --target=e2e-agent-5control-ipv4
111+
command:
112+
- ci-operator
113+
image: ci-operator:latest
114+
imagePullPolicy: Always
115+
name: ""
116+
resources:
117+
requests:
118+
cpu: 10m
119+
volumeMounts:
120+
- mountPath: /etc/boskos
121+
name: boskos
122+
readOnly: true
123+
- mountPath: /secrets/ci-pull-credentials
124+
name: ci-pull-credentials
125+
readOnly: true
126+
- mountPath: /secrets/gcs
127+
name: gcs-credentials
128+
readOnly: true
129+
- mountPath: /secrets/manifest-tool
130+
name: manifest-tool-local-pusher
131+
readOnly: true
132+
- mountPath: /etc/pull-secret
133+
name: pull-secret
134+
readOnly: true
135+
- mountPath: /etc/report
136+
name: result-aggregator
137+
readOnly: true
138+
serviceAccountName: ci-operator
139+
volumes:
140+
- name: boskos
141+
secret:
142+
items:
143+
- key: credentials
144+
path: credentials
145+
secretName: boskos-credentials
146+
- name: ci-pull-credentials
147+
secret:
148+
secretName: ci-pull-credentials
149+
- name: manifest-tool-local-pusher
150+
secret:
151+
secretName: manifest-tool-local-pusher
152+
- name: pull-secret
153+
secret:
154+
secretName: registry-pull-credentials
155+
- name: result-aggregator
156+
secret:
157+
secretName: result-aggregator
158+
trigger: (?m)^/test( | .* )e2e-agent-5control-ipv4,?($|\s.*)
3159
- agent: kubernetes
4160
always_run: false
5161
branches:

0 commit comments

Comments
 (0)