-
Notifications
You must be signed in to change notification settings - Fork 18
/
project-templates.yaml
431 lines (430 loc) · 14.4 KB
/
project-templates.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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
- project-template:
name: noop-jobs
description: |
This template runs no jobs, it is needed if a project does not use
any single job so that changes can get merged.
Do not use this with projects that have jobs defined in the gate
pipeline.
check:
jobs:
- noop
gate:
jobs:
- noop
- project-template:
name: python35-charm-jobs
description: |
placeholder
- project-template:
name: python-charm-jobs
description: |
placeholder
- project-template:
name: openstack-python35-jobs
description: |
placeholder
- project-template:
name: openstack-python3-charm-jobs
description: |
placeholder
- project-template:
name: openstack-python35-jobs-nonvoting
description: |
placeholder
- project-template:
name: openstack-python36-jobs
description: |
placeholder
- project-template:
name: python36-charm-jobs
description: |
placeholder
- project-template:
name: openstack-python3-charm-zed-jobs
description: |
placeholder
- project-template:
name: openstack-python3-charm-yoga-jobs
description: |
placeholder
- project-template:
name: openstack-python3-xena-jobs
description: |
placeholder
- project-template:
name: openstack-python3-wallaby-jobs
description: |
placeholder
- project-template:
name: openstack-python3-victoria-jobs
description: |
placeholder
- project-template:
name: openstack-python3-ussuri-jobs
description: |
placeholder
- project-template:
name: openstack-python3-train-jobs
description: |
placeholder
- project-template:
name: openstack-tox-py310
description: |
placeholder
- project-template:
name: openstack-tox-py311
description: |
placeholder
- project-template:
name: openstack-tox-py312
description: |
placeholder
- project-template:
name: openstack-cover-jobs
description: |
placeholder
- project-template:
# NOTE(coreycb): We are using this generic template starting with
# stable/2023.1 (antelope) testing. When a new development cycle starts,
# we need to do two things:
# 1. Update this template for the functional jobs. Use the 'branches'
# variant to run the applicable functional jobs.
# 2. Make sure the previous cycle applicable jobs continue to run for
# the new stable branch. Use the 'branches' variant to run the
# applicable functional jobs.
name: charm-functional-jobs
description: |
The default set of functional test jobs for the OpenStack Charms
check:
jobs:
- noble-caracal:
branches:
- main
- master
- stable/noble # Ubuntu
- jammy-caracal:
branches:
- stable/2024.1 # OpenStack
- stable/24.03 # OVN
- stable/squid
- stable/squid-jammy
- mantic-bobcat:
voting: false
branches:
- stable/2023.2
- stable/1.8
- stable/23.09
- stable/reef
- stable/jammy
- jammy-bobcat:
branches:
- stable/2024.1
- stable/2023.2
- stable/1.8
- stable/23.09
- stable/reef
- stable/jammy
- jammy-antelope:
branches:
- stable/2023.1
- stable/2023.2
- stable/2024.1
- stable/1.8
- stable/23.03
- stable/quincy.2
- stable/jammy
- jammy-zed:
branches:
- stable/2023.1
- stable/1.8
- stable/23.03
- stable/quincy.2
- stable/jammy
- focal-yoga:
branches:
- stable/quincy.2 # other charms are using charm-yoga-functional-jobs
- focal-wallaby:
branches: ^stable\/(1\.5|1\.6|1\.7|1\.8|4\.0|4\.1|4\.2|20\.03|20\.12|21\.09|22\.03|22\.09|21\.10|focal|jammy|train|ussuri|victoria|wallaby|xena|yoga|zed|pacific).*$
- focal-victoria:
branches: ^stable\/(1\.5|1\.6|1\.7|1\.8|4\.0|4\.1|4\.2|20\.03|20\.12|21\.09|22\.03|22\.09|21\.10|focal|jammy|train|ussuri|victoria|wallaby|xena|yoga|zed|octopus).*$
- focal-ussuri:
branches: ^stable\/(1\.5|1\.6|1\.7|1\.8|4\.0|4\.1|4\.2|20\.03|20\.12|21\.09|22\.03|22\.09|21\.10|focal|jammy|train|ussuri|victoria|wallaby|xena|yoga|zed|octopus).*$
- bionic-ussuri:
branches: ^stable\/(1\.5|1\.6|1\.7|1\.8|4\.0|4\.1|4\.2|20\.03|20\.12|21\.09|22\.03|22\.09|21\.10|focal|jammy|train|ussuri|victoria|wallaby|xena|yoga|zed|luminous|mimic|octopus).*$
- bionic-train:
branches: ^stable\/(1\.5|1\.6|1\.7|1\.8|4\.0|4\.1|4\.2|20\.03|20\.12|21\.09|22\.03|22\.09|21\.10|focal|jammy|train|ussuri|victoria|wallaby|xena|yoga|zed|luminous|mimic|octopus).*$
- bionic-stein:
branches: ^stable\/(1\.5|1\.6|1\.7|1\.8|4\.0|4\.1|4\.2|20\.03|20\.12|21\.09|22\.03|22\.09|21\.10|focal|jammy|train|ussuri|victoria|wallaby|xena|yoga|zed|luminous|mimic|octopus).*$
- bionic-queens:
branches: ^stable\/(1\.5|1\.6|1\.7|1\.8|4\.0|4\.1|4\.2|20\.03|20\.12|21\.09|22\.03|22\.09|21\.10|focal|jammy|train|ussuri|victoria|wallaby|xena|yoga|zed|luminous|mimic|octopus).*$
- xenial-mitaka:
branches: ^stable\/(1\.5|1\.6|1\.7|1\.8|4\.0|4\.1|4\.2|20\.03|20\.12|21\.09|22\.03|22\.09|21\.10|focal|jammy|train|ussuri|victoria|wallaby|xena|yoga|zed).*$
- project-template:
name: charm-zed-functional-jobs
description: |
The default set of zed functional test jobs for the OpenStack Charms
check:
jobs:
- jammy-zed
- jammy-yoga
- project-template:
name: charm-yoga-functional-jobs
description: |
The default set of yoga functional test jobs for the OpenStack Charms
check:
jobs:
- jammy-yoga
- focal-yoga
- project-template:
name: charm-xena-functional-jobs
description: |
The default set of xena functional test jobs for the OpenStack Charms
check:
jobs:
- focal-xena
- project-template:
name: charm-wallaby-functional-jobs
description: |
The default set of wallaby functional test jobs for the OpenStack Charms
check:
jobs:
- focal-wallaby
- project-template:
name: charm-victoria-functional-jobs
description: |
The default set of victoria functional test jobs for the OpenStack Charms
check:
jobs:
- focal-victoria
- project-template:
name: charm-ussuri-functional-jobs
description: |
The default set of ussuri functional test jobs for the OpenStack Charms
check:
jobs:
- focal-ussuri
- bionic-ussuri
- project-template:
name: charm-focal-ussuri-functional-jobs
description: |
The default set of ussuri functional test jobs (focal only) for the
OpenStack Charms
check:
jobs:
- focal-ussuri
- project-template:
name: charm-train-functional-jobs
description: |
The default set of stein functional test jobs for the OpenStack Charms
check:
jobs:
- bionic-train
- project-template:
name: charm-stein-functional-jobs
description: |
The default set of stein functional test jobs for the OpenStack Charms
check:
jobs:
- bionic-stein
- project-template:
name: charm-rocky-functional-jobs
description: |
The default set of queens functional test jobs for the OpenStack Charms
check:
jobs:
- bionic-rocky
- project-template:
name: charm-queens-functional-jobs
description: |
The default set of queens functional test jobs for the OpenStack Charms
check:
jobs:
- bionic-queens
- project-template:
# NOTE(coreycb): We are using this generic template starting with
# stable/2023.1 (antelope) testing. When a new development cycle starts,
# we need to do two things:
# 1. Update this template for the python version jobs as per the
# new development cycle tetsing runtime defined by TC
# https://governance.openstack.org/tc/reference/runtimes/
# Use the 'branches' variant to run the applicable python version
# jobs.
# 2. Make sure the previous cycle applicable jobs continue to run for
# the new stable branch. Use the 'branches' variant to run the
# applicable python version jobs.
name: charm-unit-jobs
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
- tox-py35:
branches:
- ^stable\/(1\.5|1\.6|1\.7|1\.8)$
- ^stable\/(4\.0|4\.1|4\.2)$
- ^stable\/(20\.03|20\.12|21\.09|21\.10|22\.03|22\.09)$
- ^stable\/(focal|jammy)$
- ^stable\/(train|ussuri|victoria|wallaby|xena|yoga|zed)$
- ^stable\/(luminous|mimic|nautilus|octopus|pacific|quincy|quincy\.2)$
- tox-py36:
branches:
- ^stable\/(1\.5|1\.6|1\.7|1\.8)$
- ^stable\/(4\.0|4\.1|4\.2)$
- ^stable\/(20\.03|20\.12|21\.09|21\.10|22\.03|22\.09)$
- ^stable\/(focal|jammy)$
- ^stable\/(train|ussuri|victoria|wallaby|xena|yoga|zed)$
- ^stable\/(luminous|mimic|nautilus|octopus|pacific|quincy|quincy\.2)$
- tox-py37:
branches:
- ^stable\/(1\.5|1\.6|1\.7|1\.8)$
- ^stable\/(4\.0|4\.1|4\.2)$
- ^stable\/(20\.03|20\.12|21\.09|21\.10|22\.03|22\.09)$
- ^stable\/(focal|jammy)$
- ^stable\/(train|ussuri|victoria|wallaby|xena|yoga|zed)$
- ^stable\/(luminous|mimic|nautilus|octopus|pacific|quincy|quincy\.2)$
- tox-py38:
branches:
- ^stable\/(1\.5|1\.6|1\.7|1\.8)$
- ^stable\/(4\.0|4\.1|4\.2)$
- ^stable\/(20\.03|20\.12|21\.09|21\.10|22\.03|22\.09)$
- ^stable\/(focal|jammy)$
- ^stable\/(train|ussuri|victoria|wallaby|xena|yoga|zed)$
- ^stable\/(luminous|mimic|nautilus|octopus|pacific|quincy|quincy\.2|reef)$
# NOTE(ajkavanagh) disabled until we can get zuul, ansible and py310 on
# jammy to play together.
# NOTE(icey) BUT REALLY, DO NOT ENABLE THE FOLLOWING UNTIL YOU KNOW WE CAN
# RUN A 3.10 JOB ON ZOSCI.
#- tox-py310:
# branches:
# - stable/2023.1
# NOTE(ajkavanagh) disabled until we can get zuul, ansible and py311 on
# jammy to play together.
# NOTE(icey) BUT REALLY, DO NOT ENABLE THE FOLLOWING UNTIL YOU KNOW WE CAN
# RUN A 3.11 JOB ON ZOSCI.
#- tox-py311:
# branches:
# - master
# - stable/2023.2
- project-template:
name: charm-unit-jobs-py35
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
- tox-py35
- project-template:
name: charm-unit-jobs-py36
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
- tox-py36
- project-template:
name: charm-unit-jobs-py37
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
- tox-py37
- project-template:
name: charm-unit-jobs-py38
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
- tox-py38
- project-template:
name: charm-unit-jobs-py39
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
- tox-py39
- project-template:
name: charm-unit-jobs-py310
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
# NOTE(ajkavanagh) disabled until we can get zuul, ansible and py310 on
# jammy to play together.
# NOTE(icey) BUT REALLY, DO NOT ENABLE THE FOLLOWING UNTIL YOU KNOW WE CAN
# RUN A 3.10 JOB ON ZOSCI.
#- tox-py310
- project-template:
name: charm-unit-jobs-py311
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
# NOTE(ajkavanagh) disabled until we can get zuul, ansible and py311 on
# jammy to play together.
# NOTE(icey) BUT REALLY, DO NOT ENABLE THE FOLLOWING UNTIL YOU KNOW WE CAN
# RUN A 3.11 JOB ON ZOSCI.
#- tox-py311
- project-template:
name: charm-unit-jobs-py312
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
# NOTE: disabled until we can get zuul, ansible and py312 on caracal to
# play together.
#
# NOTE: BUT REALLY, DO NOT ENABLE THE FOLLOWING UNTIL YOU KNOW WE CAN
# RUN A 3.12 JOB ON ZOSCI.
#
#- tox-py312
- project-template:
name: charm-yoga-unit-jobs
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
- tox-py36
- tox-py38
- tox-py39
- project-template:
name: charm-zed-unit-jobs
description: |
The default set of unit tests and lint checks for the OpenStack Charms
check:
jobs:
- charm-build
- osci-lint
# NOTE(ajkavanagh) disabled until we can get zuul, ansible and py310 on
# jammy to play together.
# NOTE(icey) BUT REALLY, DO NOT ENABLE THE FOLLOWING UNTIL YOU KNOW WE CAN
# RUN A 3.10 JOB ON ZOSCI.
#- tox-py310
- project-template:
name: charm-publish-jobs
description: |
The set of publish jobs for the OpenStack Charms
promote:
jobs:
- publish-charm
- project-template:
name: microk8s-func-test
description: |
microk8s-func-test is defined upstream but not in zosci so define noop
project here to avoid errors about missing project.