-
Notifications
You must be signed in to change notification settings - Fork 13
/
.zuul.yaml
212 lines (195 loc) · 6.21 KB
/
.zuul.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
---
- nodeset:
name: stf-crc_extracted-ocp414
nodes:
- name: controller
label: cloud-centos-9-stream-tripleo-vexxhost
- name: crc
label: coreos-crc-extracted-2-30-0-xxl
- nodeset:
name: stf-crc_extracted-ocp416
nodes:
- name: controller
label: cloud-centos-9-stream-tripleo-vexxhost
- name: crc
label: coreos-crc-extracted-2-39-0-3xl
- job:
name: stf-base-2node
parent: podified-multinode-edpm-deployment-crc
description: |
A base job for STF that deploys extracted CRC with a 2-node topology.
This job is based on the cookbook example in: https://github.com/openstack-k8s-operators/ci-framework/blob/main/docs/source/cookbooks/zuul-job-nodeset.md
All non-abstract jobs that inherit from this must have a nodeset configured.
abstract: true
required-projects:
- name: github.com/openstack-k8s-operators/dataplane-operator
override-checkout: main
- name: github.com/openstack-k8s-operators/infra-operator
override-checkout: main
- name: github.com/openstack-k8s-operators/openstack-operator
override-checkout: main
- name: github.com/openstack-k8s-operators/openstack-must-gather
override-checkout: main
pre-run:
- ci/pre-2node.yml
vars:
cifmw_deploy_edpm: false
podified_validation: true
cifmw_run_tests: false
extra-vars:
crc_ci_bootstrap_networking:
networks:
default:
range: 192.168.122.0/24
mtu: 1500
internal-api:
vlan: 20
range: 172.17.0.0/24
storage:
vlan: 21
range: 172.18.0.0/24
tenant:
vlan: 22
range: 172.19.0.0/24
instances:
controller:
networks:
default:
ip: 192.168.122.11
crc:
networks:
default:
ip: 192.168.122.10
internal-api:
ip: 172.17.0.5
storage:
ip: 172.18.0.5
tenant:
ip: 172.19.0.5
- job:
name: stf-base
parent: stf-base-2node
abstract: true
description: |
Run the stf-run-ci role, and then test stf
Any non-abstract jobs that inherit from this must pass a `scenario` var.
roles: # adds in dependent roles i.e. put it in the role path
- zuul: github.com/openstack-k8s-operators/ci-framework
# These are the additional repos that zuul will clone
required-projects:
- name: openstack-k8s-operators/ci-framework
override-checkout: main
- name: github.com/infrawatch/service-telemetry-operator
- name: github.com/infrawatch/smart-gateway-operator
- name: github.com/infrawatch/sg-bridge
- name: github.com/infrawatch/sg-core
- name: github.com/infrawatch/prometheus-webhook-snmp
pre-run:
- ci/prepare.yml
run:
- ci/deploy_stf.yml
- ci/test_stf.yml
post-run:
- ci/post-collect_logs.yml
# The default (~30 minutes) is not enough to run through all the job stages
timeout: 3600
- job:
name: stf-crc-nightly_bundles
parent: stf-base
abstract: true
description: |
Deploy stf using the nightly bundles
vars:
scenario: "nightly_bundles"
- job:
name: stf-crc-local_build
parent: stf-base
abstract: true
description: |
Build images locally and deploy STF
vars:
scenario: "local_build"
- job:
name: stf-crc-local_build-index_deploy
parent: stf-base
abstract: true
description: |
Build STF locally and deploy from index
vars:
scenario: "local_build-index_deploy"
- job:
name: stf-crc-nightly_bundles-index_deploy
parent: stf-base
abstract: true
description: |
Create an index image using nightly bundles and deploy STF from it
vars:
scenario: "nightly_bundles-index_deploy"
- job:
name: stf-crc-ocp_414-nightly_bundles
parent: stf-crc-nightly_bundles
description: |
Deploy STF using the nightly bundles on OCP 4.14
nodeset: stf-crc_extracted-ocp414
- job:
name: stf-crc-ocp_416-nightly_bundles
parent: stf-crc-nightly_bundles
description: |
Deploy STF using the nightly bundles on OCP 4.16
nodeset: stf-crc_extracted-ocp416
- job:
name: stf-crc-ocp_414-local_build
parent: stf-crc-local_build
description: |
Build images locally and deploy STF on OCP 4.14
nodeset: stf-crc_extracted-ocp414
- job:
name: stf-crc-ocp_416-local_build
parent: stf-crc-local_build
description: |
Build STF locally and deploy from index on OCP 4.16
nodeset: stf-crc_extracted-ocp416
- job:
name: stf-crc-ocp_414-local_build-index_deploy
parent: stf-crc-local_build-index_deploy
description: |
Build STF locally and deploy from index on OCP 4.14
nodeset: stf-crc_extracted-ocp414
- job:
name: stf-crc-ocp_416-local_build-index_deploy
parent: stf-crc-local_build-index_deploy
description: |
Build STF locally and deploy from index on OCP 4.16
nodeset: stf-crc_extracted-ocp416
- job:
name: stf-crc-ocp_414-nightly_bundles-index_deploy
parent: stf-crc-nightly_bundles-index_deploy
description: |
Create an index image using nightly bundles and deploy STF from it on OCP 4.14
nodeset: stf-crc_extracted-ocp414
- job:
name: stf-crc-ocp_416-nightly_bundles-index_deploy
parent: stf-crc-nightly_bundles-index_deploy
description: |
Create an index image using nightly bundles and deploy STF from it on OCP 4.16
nodeset: stf-crc_extracted-ocp416
- project-template:
name: stf-crc-jobs
description: |
STF CRC jobs that build and deploy STF
github-check:
jobs:
- stf-crc-ocp_414-local_build
- stf-crc-ocp_416-local_build
- stf-crc-ocp_414-local_build-index_deploy
- stf-crc-ocp_416-local_build-index_deploy
- stf-crc-ocp_414-nightly_bundles-index_deploy
- stf-crc-ocp_416-nightly_bundles-index_deploy
- project:
name: infrawatch/service-telemetry-operator
templates:
- stf-crc-jobs
periodic:
jobs:
- stf-crc-ocp_414-nightly_bundles
- stf-crc-ocp_416-nightly_bundles