forked from openstack/kuryr-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zuul.yaml
374 lines (351 loc) · 11.7 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
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
# Copyright 2018 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- project:
check:
jobs:
- openstack-tox-lower-constraints
- kuryr-kubernetes-tempest-octavia
- kuryr-kubernetes-tempest-daemon-octavia
- kuryr-kubernetes-tempest-daemon-openshift-octavia
- kuryr-kubernetes-tempest-lbaasv2
- kuryr-kubernetes-tempest-daemon-lbaasv2
- kuryr-kubernetes-tempest-daemon-openshift-lbaasv2
- kuryr-kubernetes-tempest-daemon-containerized-lbaasv2
- kuryr-kubernetes-tempest-dragonflow
- kuryr-kubernetes-tempest-ovn
gate:
jobs:
- openstack-tox-lower-constraints
- kuryr-kubernetes-tempest-octavia
- kuryr-kubernetes-tempest-daemon-octavia
- kuryr-kubernetes-tempest-lbaasv2
- kuryr-kubernetes-tempest-daemon-lbaasv2
- kuryr-kubernetes-tempest-daemon-containerized-lbaasv2
experimental:
jobs:
- kuryr-kubernetes-tempest-multinode-octavia
- kuryr-kubernetes-tempest-multinode-lbaasv2
- kuryr-kubernetes-tempest-octavia-centos-7
- kuryr-kubernetes-tempest-lbaasv2-centos-7
- kuryr-kubernetes-tempest-containerized-lbaasv2
- kuryr-kubernetes-tempest-daemon-containerized-openshift-lbaasv2
- kuryr-kubernetes-tempest-daemon-pools-lbaasv2
- kuryr-kubernetes-tempest-daemon-containerized-octavia
- kuryr-kubernetes-tempest-daemon-containerized-octavia-l2
- nodeset:
name: openstack-centos-7-single-node
nodes:
- name: controller
label: centos-7
groups:
- name: tempest
nodes:
- controller
- job:
name: kuryr-kubernetes-tempest-base
parent: devstack-tempest
description: Base kuryr-kubernetes-job
required-projects:
- openstack-infra/devstack-gate
- openstack/devstack-plugin-container
- openstack/kuryr
- openstack/kuryr-kubernetes
- openstack/kuryr-tempest-plugin
- openstack/neutron-lbaas
- openstack/tempest
post-run: playbooks/copy-k8s-logs.yaml
vars:
tempest_test_regex: '^(kuryr_tempest_plugin.tests.)'
tox_envlist: 'all'
devstack_localrc:
KURYR_K8S_API_PORT: 8080
TEMPEST_PLUGINS: '/opt/stack/kuryr-tempest-plugin'
devstack_services:
# TODO(dmellado):Temporary workaround until proper fix
base: false
s-account: false
s-container: false
s-object: false
s-proxy: false
c-api: false
c-bak: false
c-sch: false
c-vol: false
cinder: false
tempest: true
neutron: true
q-agt: true
q-dhcp: true
q-l3: true
q-svc: true
q-meta: true
key: true
mysql: true
rabbit: true
n-api: true
n-api-meta: true
n-cpu: true
n-cond: true
n-sch: true
placement-api: true
placement-client: true
g-api: true
g-reg: true
etcd3: true
kubernetes-api: true
kubernetes-controller-manager: true
kubernetes-scheduler: true
kubelet: true
kuryr-kubernetes: true
devstack_plugins:
kuryr-kubernetes: https://git.openstack.org/openstack/kuryr
devstack-plugin-container: https://git.openstack.org/openstack/devstack-plugin-container
zuul_copy_output:
'{{ devstack_log_dir }}/kubernetes': 'logs'
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- job:
name: kuryr-kubernetes-tempest-daemon-pools-lbaasv2
parent: kuryr-kubernetes-tempest-daemon-lbaasv2
description: |
Kuryr-Kubernetes tempest job using port-pool feature
vars:
tempest_test_regex: '^(kuryr_tempest_plugin.tests.scenario.test_port_pool.TestPortPoolScenario.test_port_pool)'
devstack_localrc:
KURYR_USE_PORT_POOLS: true
KURYR_POD_VIF_DRIVER: neutron-vif
KURYR_VIF_POOL_DRIVER: neutron
TEMPEST_CONCURRENCY: 1
- job:
name: kuryr-kubernetes-tempest-octavia
parent: kuryr-kubernetes-tempest-base
description: |
Kuryr-Kubernetes tempest job using octavia
required-projects:
- openstack/barbican
- openstack/octavia
- openstack/python-barbicanclient
- openstack/python-octaviaclient
pre-run: playbooks/get_amphora_tarball.yaml
vars:
devstack_localrc:
LIBS_FROM_GIT: python-octaviaclient
OCTAVIA_AMP_IMAGE_FILE: "/tmp/test-only-amphora-x64-haproxy-ubuntu-xenial.qcow2"
OCTAVIA_AMP_IMAGE_SIZE: 3
OCTAVIA_AMP_IMAGE_NAME: "test-only-amphora-x64-haproxy-ubuntu-xenial"
devstack_local_conf:
post-config:
$OCTAVIA_CONF:
controller_worker:
amp_active_retries: 9999
devstack_services:
octavia: true
o-api: true
o-cw: true
o-hk: true
o-hm: true
devstack_plugins:
octavia: https://git.openstack.org/openstack/octavia
barbican: https://git.openstack.org/openstack/barbican
- job:
name: kuryr-kubernetes-tempest-octavia-centos-7
parent: kuryr-kubernetes-tempest-octavia
nodeset: openstack-centos-7-single-node
voting: false
- job:
name: kuryr-kubernetes-tempest-daemon-octavia
parent: kuryr-kubernetes-tempest-octavia
description: |
Kuryr-Kubernetes tempest job using octavia and CNI daemon
vars:
devstack_services:
kuryr-daemon: true
- job:
name: kuryr-kubernetes-tempest-daemon-containerized-octavia
parent: kuryr-kubernetes-tempest-daemon-octavia
description: |
Kuryr-Kubernetes tempest job using octavia, kuryr containerized and CNI daemon
vars:
devstack_localrc:
KURYR_K8S_CONTAINERIZED_DEPLOYMENT: true
- job:
name: kuryr-kubernetes-tempest-daemon-containerized-octavia-l2
parent: kuryr-kubernetes-tempest-daemon-containerized-octavia
description: |
Kuryr-Kubernetes tempest job using octavia in l2 mode, kuryr containerized and CNI daemon
vars:
devstack_localrc:
KURYR_K8S_OCTAVIA_MEMBER_MODE: L2
- job:
name: kuryr-kubernetes-tempest-openshift-octavia
parent: kuryr-kubernetes-tempest-octavia
description: |
Kuryr-Kubernetes tempest job using octavia and OpenShift
vars:
devstack_localrc:
DOCKER_CGROUP_DRIVER: "systemd"
devstack_services:
kubernetes-api: false
kubernetes-controller-manager: false
kubernetes-scheduler: false
kubelet: false
openshift-master: true
openshift-node: true
- job:
name: kuryr-kubernetes-tempest-daemon-openshift-octavia
parent: kuryr-kubernetes-tempest-openshift-octavia
description: |
Kuryr-Kubernetes tempest job using octavia, CNI daemon and OpenShift
vars:
devstack_services:
kuryr-daemon: true
voting: false
- job:
name: kuryr-kubernetes-tempest-multinode-octavia
parent: kuryr-kubernetes-tempest-octavia
description: |
Kuryr-Kubernetes tempest multinode job using octavia
nodeset: openstack-two-node
voting: false
- job:
name: kuryr-kubernetes-tempest-lbaasv2
parent: kuryr-kubernetes-tempest-base
description: |
Kuryr-Kubernetes tempest job using lbaasv2
vars:
devstack_localrc:
NEUTRON_LBAAS_SERVICE_PROVIDERV2: 'LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default'
devstack_services:
q-lbaasv2: true
devstack_plugins:
neutron-lbaas: https://git.openstack.org/openstack/neutron-lbaas
- job:
name: kuryr-kubernetes-tempest-lbaasv2-centos-7
parent: kuryr-kubernetes-tempest-lbaasv2
nodeset: openstack-centos-7-single-node
voting: false
- job:
name: kuryr-kubernetes-tempest-daemon-lbaasv2
parent: kuryr-kubernetes-tempest-lbaasv2
description: |
Kuryr-Kubernetes tempest job using lbaasv2 and CNI daemon
vars:
devstack_services:
kuryr-daemon: true
- job:
name: kuryr-kubernetes-tempest-openshift-lbaasv2
parent: kuryr-kubernetes-tempest-lbaasv2
description: |
Kuryr-Kubernetes tempest job using lbaasv2 and OpenShift
vars:
devstack_localrc:
DOCKER_CGROUP_DRIVER: "systemd"
devstack_services:
kubernetes-api: false
kubernetes-controller-manager: false
kubernetes-scheduler: false
kubelet: false
openshift-master: true
openshift-node: true
- job:
name: kuryr-kubernetes-tempest-daemon-openshift-lbaasv2
parent: kuryr-kubernetes-tempest-openshift-lbaasv2
description: |
Kuryr-Kubernetes tempest job using lbaasv2, CNI daemon and OpenShift
vars:
devstack_services:
kuryr-daemon: true
voting: false
- job:
name: kuryr-kubernetes-tempest-multinode-lbaasv2
parent: kuryr-kubernetes-tempest-lbaasv2
description: |
Kuryr-Kubernetes tempest multinode job using lbaasv2
nodeset: openstack-two-node
voting: false
- job:
name: kuryr-kubernetes-tempest-ovn
parent: kuryr-kubernetes-tempest-lbaasv2
description: |
Kuryr-Kubernetes tempest job using OVN
required-projects:
- openstack/networking-ovn
vars:
devstack_localrc:
OVS_HOST_PATH: /usr/local/var/run/openvswitch
devstack_services:
ovn-northd: true
ovn-controller: true
networking-ovn-metadata-agent: true
q-agt: false
q-l3: false
q-dhcp: false
q-meta: false
q-trunk: true
devstack_plugins:
networking-ovn: https://git.openstack.org/openstack/networking-ovn
neutron: https://git.openstack.org/openstack/neutron
voting: false
- job:
name: kuryr-kubernetes-tempest-dragonflow
parent: kuryr-kubernetes-tempest-lbaasv2
description: |
Kuryr-Kubernetes tempest job using Dragonflow
required-projects:
- openstack/dragonflow
vars:
devstack_localrc:
Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER: true
DF_RUNNING_IN_GATE: true
TUNNEL_TYPE: vxlan
DF_L2_RESPONDER: true
OVS_INSTALL_FROM_GIT: false
OVS_BRANCH: master
devstack_services:
q-agt: false
q-dhcp: false
q-l3: false
q-trunk: true
df-redis: true
df-redis-server: true
df-controller: true
df-ext-services: true
df-zmq-publisher-service: true
df-l3-agent: true
devstack_plugins:
dragonflow: https://github.com/openstack/dragonflow
voting: false
# Tempest with LBaaSV2 and containers
- job:
name: kuryr-kubernetes-tempest-containerized-lbaasv2
parent: kuryr-kubernetes-tempest-lbaasv2
vars:
devstack_localrc:
KURYR_K8S_CONTAINERIZED_DEPLOYMENT: true
# Tempest with LBaaSV2, CNI daemon enabled and containers
- job:
name: kuryr-kubernetes-tempest-daemon-containerized-lbaasv2
parent: kuryr-kubernetes-tempest-daemon-lbaasv2
vars:
devstack_localrc:
KURYR_K8S_CONTAINERIZED_DEPLOYMENT: true
- job:
name: kuryr-kubernetes-tempest-daemon-containerized-openshift-lbaasv2
description: Tempest with LBaaS v2, CNI daemon enabled, containers and OpenShift
parent: kuryr-kubernetes-tempest-daemon-openshift-lbaasv2
vars:
devstack_localrc:
KURYR_K8S_CONTAINERIZED_DEPLOYMENT: true