-
Notifications
You must be signed in to change notification settings - Fork 26
/
.zuul.yaml
263 lines (234 loc) · 7.07 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
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
---
- secret:
name: SECRET_TESTBED
data:
MANAGERLESS_CREDENTIALS: !encrypted/pkcs1-oaep
- Ft2GWr5BtY9XZ8Kr66GsyB1/PvBiT3COz9NnLFqg0Rp/zRInou7FXx4qNaK48p88EyZQ8
c3QV49MNgzNYy11ZK2NjWkSQd6kWZ3x2Bvhu/vYfYjRCLWH34LL+36lDbITcpYt7tiQFH
IaaBfXc/lwBBEZMlpAhEDfcDXLRoSSdtcyP8SX8BtSCH4tlh/KYVkqJ/a2nNMtJF7l2Wj
PF7qe17WI6NsYCb6QD33bfEX+qe9JOmkwAKxHFd6ucTZJe1D6JiYvXAlJR+FhGDOOurKX
DRX6H48WB2L0qp/UQgY9mwR2eWqbfdAJg1AGJ3M+Y0j/Xi0do07h7cX2RCG6MC0HHRSIG
wXSvIYN8m50AT0c3ofnMQ1Vtf7V60cctV4em5sLxyWacz/lHzHPzstjmnFB5BVOh5vbh6
ygRlLMTUQTQzUlAJHhDlYc+ea2njSbq79RzQSto1buN0lNRQNp3VGTnbZyhp/B671NlVZ
cC5o6qs8j7LyLKOo9lNnYi8CQw2KjRzv2rBMuUaRqIaGXu4U/R8sswy3j6YhA7BT4vUxv
zUyw/6Ql1IhZo3X0jEE3WtfeUQvsWB0AXDX+xf2WoEVL5dObYP8X5RVsJj5qQ7Y8BK2qa
HflOaQYaKWZSf+5kfBUByzQghil4tH4QQQUHszDs0Qtzop7yTp0AB1cqefAyY8=
- semaphore:
name: semaphore-testbed-managerless
max: 1
# Regiocloud
- nodeset:
name: testbed-orchestrator
nodes:
- name: orchestrator
label: testbed-orchestrator
- job:
name: abstract-testbed-deploy
abstract: true
parent: base-extra-logs
pre-run: playbooks/pre.yml
nodeset: testbed-orchestrator
run: playbooks/deploy.yml
post-run: playbooks/post.yml
cleanup-run: playbooks/cleanup.yml
required-projects:
- osism/ansible-collection-commons
- osism/ansible-collection-services
- osism/testbed
- osism/terraform-base
irrelevant-files:
- ^LICENSE$
- ^README.md$
- ^\.github/.*$
# NOTE(frickler): Default zuul maximum timeout is 3h, this needs to
# be explicitly bumped in the tenant configuration
timeout: 16200
vars:
terraform_blueprint: testbed-default
- job:
name: testbed-deploy-managerless
parent: base-extra-logs
nodeset: ubuntu-jammy-large
pre-run: playbooks/managerless/pre.yml
run: playbooks/managerless/deploy.yml
post-run: playbooks/managerless/post.yml
cleanup-run: playbooks/managerless/cleanup.yml
required-projects:
- osism/terraform-base
timeout: 10800
vars:
cloud: managerless
terraform_blueprint: testbed-managerless
secrets:
- name: secret
secret: SECRET_TESTBED
semaphores:
- name: semaphore-testbed-managerless
- job:
name: testbed-deploy
parent: abstract-testbed-deploy
vars:
tempest: true
- job:
name: abstract-testbed-deploy-in-a-nutshell
abstract: true
parent: abstract-testbed-deploy
timeout: 7200
vars:
nutshell: true
- job:
name: testbed-deploy-in-a-nutshell-ubuntu-22.04
parent: abstract-testbed-deploy-in-a-nutshell
vars:
terraform_environment: ci-ubuntu-22.04
- job:
name: testbed-deploy-in-a-nutshell-ubuntu-24.04
parent: abstract-testbed-deploy-in-a-nutshell
vars:
terraform_environment: ci-ubuntu-24.04
- job:
name: testbed-deploy-in-a-nutshell-debian-12
parent: abstract-testbed-deploy-in-a-nutshell
vars:
terraform_environment: ci-debian-12
- job:
name: testbed-deploy-in-a-nutshell-centos-stream-9
parent: abstract-testbed-deploy-in-a-nutshell
vars:
terraform_environment: ci-centos-stream-9
- job:
name: testbed-deploy-in-a-nutshell-with-tempest-ubuntu-24.04
parent: testbed-deploy-in-a-nutshell-ubuntu-24.04
timeout: 14400
vars:
tempest: true
- job:
name: abstract-testbed-deploy-stable-in-a-nutshell
abstract: true
parent: abstract-testbed-deploy-in-a-nutshell
vars:
manager_version: 8.0.2
- job:
name: testbed-deploy-stable-in-a-nutshell-ubuntu-22.04
parent: abstract-testbed-deploy-stable-in-a-nutshell
vars:
terraform_environment: ci-ubuntu-22.04
- job:
name: testbed-deploy-stable-in-a-nutshell-ubuntu-24.04
parent: abstract-testbed-deploy-stable-in-a-nutshell
vars:
terraform_environment: ci-ubuntu-24.04
- job:
name: testbed-deploy-stable-in-a-nutshell-debian-12
parent: abstract-testbed-deploy-stable-in-a-nutshell
vars:
terraform_environment: ci-debian-12
- job:
name: testbed-deploy-stable-in-a-nutshell-centos-stream-9
parent: abstract-testbed-deploy-stable-in-a-nutshell
vars:
terraform_environment: ci-centos-stream-9
- job:
name: testbed-deploy-stable-in-a-nutshell-with-tempest-ubuntu-24.04
parent: testbed-deploy-stable-in-a-nutshell-ubuntu-24.04
timeout: 14400
vars:
tempest: true
- job:
name: testbed-upgrade
parent: abstract-testbed-deploy
run: playbooks/upgrade.yml
timeout: 25200
- job:
name: abstract-testbed-deploy-stable
parent: abstract-testbed-deploy
vars:
manager_version: 8.0.2
tempst: true
- job:
name: testbed-deploy-stable-ubuntu-22.04
parent: abstract-testbed-deploy-stable
vars:
terraform_environment: ci-ubuntu-22.04
- job:
name: testbed-deploy-stable-ubuntu-24.04
parent: abstract-testbed-deploy-stable
vars:
terraform_environment: ci-ubuntu-24.04
- job:
name: testbed-deploy-stable-centos-stream-9
parent: abstract-testbed-deploy-stable
vars:
terraform_environment: ci-centos-stream-9
- job:
name: testbed-deploy-stable-debian-12
parent: abstract-testbed-deploy-stable
vars:
terraform_environment: ci-debian-12
- job:
name: abstract-testbed-upgrade-stable
parent: abstract-testbed-deploy
run: playbooks/upgrade-stable.yml
vars:
manager_version: 7.1.3
manager_version_next: 8.0.2
nodeset: testbed-orchestrator
timeout: 25200
- job:
name: testbed-upgrade-stable-ubuntu-22.04
parent: abstract-testbed-upgrade-stable
vars:
terraform_environment: ci-ubuntu-22.04
- job:
name: testbed-upgrade-stable-ubuntu-24.04
parent: abstract-testbed-upgrade-stable
vars:
terraform_environment: ubuntu-24.04
# - job:
# name: testbed-upgrade-stable-debian-12
# parent: abstract-testbed-upgrade-stable
# vars:
# terraform_environment: debian-12
# - job:
# name: testbed-upgrade-stable-centos-stream-9
# parent: abstract-testbed-upgrade-stable
# vars:
# terraform_environment: centos-stream-9
- project:
merge-mode: squash-merge
check:
jobs:
- ansible-lint
- flake8
- python-black
- yamllint
label:
jobs:
- testbed-deploy-in-a-nutshell-ubuntu-24.04
label-additional:
jobs:
- testbed-deploy-in-a-nutshell-ubuntu-22.04
- testbed-deploy-in-a-nutshell-debian-12
- testbed-deploy-in-a-nutshell-centos-stream-9
gate:
jobs:
- ansible-lint
- yamllint
- flake8
- python-black
periodic-midnight:
jobs:
- testbed-deploy-stable-in-a-nutshell-ubuntu-24.04
periodic-daily:
jobs:
- testbed-deploy-in-a-nutshell-with-tempest-ubuntu-24.04
- ansible-lint
- flake8
- python-black
- yamllint
post:
jobs:
- testbed-deploy-in-a-nutshell-ubuntu-24.04:
branches: main
- testbed-deploy-stable-in-a-nutshell-ubuntu-24.04:
branches: main