-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy path.zuul.yaml
213 lines (201 loc) · 6.98 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
- job:
name: base-cloudkitty-tempest-job
parent: devstack-tempest
description: |
Job testing cloudkitty installation and running tempest tests
required-projects: &base_required_projects
- name: openstack/cloudkitty
- name: openstack/cloudkitty-tempest-plugin
- name: openstack/python-cloudkittyclient
roles: &base_roles
- zuul: openstack-infra/devstack
timeout: 5400
irrelevant-files: &base_irrelevant_files
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
vars: &base_vars
devstack_plugins:
cloudkitty: https://opendev.org/openstack/cloudkitty
cloudkitty-tempest-plugin: https://opendev.org/openstack/cloudkitty-tempest-plugin
devstack_services:
ck-api: true
ck-proc: true
horizon: false
tempest: true
tempest_concurrency: 1
tempest_test_regex: cloudkitty_tempest_plugin.*
tox_envlist: all
devstack_localrc:
CLOUDKITTY_FETCHER: keystone
USE_PYTHON3: True
TEMPEST_PLUGINS: /opt/stack/cloudkitty-tempest-plugin
- job:
name: cloudkitty-grenade-job
parent: grenade
description: |
Grenade job to test release upgrades
required-projects:
- opendev.org/openstack/grenade
- opendev.org/openstack/cloudkitty
- opendev.org/openstack/cloudkitty-tempest-plugin
- opendev.org/openstack/python-cloudkittyclient
irrelevant-files: *base_irrelevant_files
vars:
devstack_plugins:
cloudkitty: https://opendev.org/openstack/cloudkitty.git
cloudkitty-tempest-plugin: https://opendev.org/openstack/cloudkitty-tempest-plugin.git
devstack_services:
ck-api: true
ck-proc: true
tempest_concurrency: 1
tempest_plugins:
- cloudkitty-tempest-plugin
tempest_test_regex: cloudkitty_tempest_plugin.*
tox_envlist: all
grenade_devstack_localrc:
shared:
# for <2025.1
CLOUDKITTY_USE_MODE_WSGI: false
# for >=2025.1
CLOUDKITTY_USE_UWSGI: false
CLOUDKITTY_FETCHER: keystone
- job:
name: base-cloudkitty-v1-api-tempest-job
parent: base-cloudkitty-tempest-job
description: |
Job running tempest tests on devstack with the v1 API only
and the v1 storage driver
vars:
tempest_test_regex: cloudkitty_tempest_plugin.tests.api.v1.*
- job:
name: base-cloudkitty-v2-api-tempest-job
parent: base-cloudkitty-tempest-job
description: |
Job running tempest tests on devstack with the v2 API
and a v2 storage driver
vars:
tempest_test_regex: cloudkitty_tempest_plugin.*
- job:
name: cloudkitty-tempest-full-ipv6-only
parent: devstack-tempest-ipv6
description: |
Job testing cloudkitty installation on devstack on IPv6
and running tempest tests
required-projects: *base_required_projects
roles: *base_roles
timeout: 5400
irrelevant-files: *base_irrelevant_files
vars: *base_vars
- job:
name: cloudkitty-tempest-full-v1-storage-sqlalchemy
parent: base-cloudkitty-v1-api-tempest-job
description: |
Job testing cloudkitty installation on devstack with python 3 and the
SQLAlchemy v1 storage driver and running tempest tests
vars:
devstack_localrc:
CLOUDKITTY_STORAGE_BACKEND: sqlalchemy
CLOUDKITTY_STORAGE_VERSION: 1
- job:
name: cloudkitty-tempest-full-v2-storage-influxdb
parent: base-cloudkitty-v2-api-tempest-job
description: |
Job testing cloudkitty installation on devstack with python 3, InfluxDB
v1 and the InfluxDB v2 storage driver and running tempest tests
vars:
devstack_localrc:
CLOUDKITTY_STORAGE_BACKEND: influxdb
CLOUDKITTY_STORAGE_VERSION: 2
CLOUDKITTY_INFLUX_VERSION: 1
# TODO(gmann): As per the 2025.1 testing runtime, we need to run at least
# one job on jammy. This job can be removed as per the future testing
# runtime (whenever we start testing Ubuntu 26.04 as default version).
- job:
name: cloudkitty-tempest-full-v2-storage-influxdb-jammy
parent: base-cloudkitty-v2-api-tempest-job
nodeset: openstack-single-node-jammy
description: This is integrated job testing on Ubuntu jammy(22.04)
- job:
name: cloudkitty-tempest-full-v2-storage-influxdb-v2
parent: base-cloudkitty-v2-api-tempest-job
description: |
Job testing cloudkitty installation on devstack with python 3, InfluxDB
v2 and the InfluxDB v2 storage driver and running tempest tests
vars:
devstack_localrc:
CLOUDKITTY_STORAGE_BACKEND: influxdb
CLOUDKITTY_STORAGE_VERSION: 2
CLOUDKITTY_INFLUX_VERSION: 2
- job:
name: cloudkitty-tempest-full-v2-storage-elasticsearch
parent: base-cloudkitty-v2-api-tempest-job
description: |
Job testing cloudkitty installation on devstack with python 3 and the
Elasticsearch v2 storage driver and running tempest tests
vars:
devstack_localrc:
CLOUDKITTY_STORAGE_BACKEND: elasticsearch
CLOUDKITTY_STORAGE_VERSION: 2
- job:
name: cloudkitty-tempest-full-v2-storage-opensearch
parent: base-cloudkitty-v2-api-tempest-job
description: |
Job testing cloudkitty installation on devstack with python 3 and the
OpenSearch v2 storage driver and running tempest tests
vars:
devstack_localrc:
CLOUDKITTY_STORAGE_BACKEND: opensearch
CLOUDKITTY_STORAGE_VERSION: 2
- job:
name: cloudkitty-tox-bandit
parent: openstack-tox
timeout: 2400
vars:
tox_envlist: bandit
required-projects:
- openstack/requirements
irrelevant-files:
- ^.*\.rst$
- ^.*\.txt$
- ^api-ref/.*$
- ^apidocs/.*$
- ^contrib/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tools/.*$
- ^cloudkitty/hacking/.*$
- ^cloudkitty/tests/scenario/.*$
- ^cloudkitty/tests/unittests/.*$
- project:
queue: cloudkitty
templates:
- check-requirements
- openstack-cover-jobs
- openstack-python3-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- cloudkitty-tempest-full-v2-storage-influxdb
- cloudkitty-tempest-full-v2-storage-influxdb-jammy
- cloudkitty-tempest-full-v2-storage-influxdb-v2
- cloudkitty-tempest-full-v2-storage-elasticsearch
- cloudkitty-tempest-full-v2-storage-opensearch
- cloudkitty-tempest-full-v1-storage-sqlalchemy
- cloudkitty-tempest-full-ipv6-only
- cloudkitty-tox-bandit:
voting: false
- cloudkitty-grenade-job
gate:
jobs:
- cloudkitty-tempest-full-v2-storage-influxdb
- cloudkitty-tempest-full-v2-storage-influxdb-jammy
- cloudkitty-tempest-full-v2-storage-influxdb-v2
- cloudkitty-tempest-full-v2-storage-elasticsearch
- cloudkitty-tempest-full-v2-storage-opensearch
- cloudkitty-tempest-full-v1-storage-sqlalchemy
- cloudkitty-tempest-full-ipv6-only
- cloudkitty-grenade-job