Skip to content

Commit 17c3e16

Browse files
authored
ci(zuul): use shared molecule templates (#4049)
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
1 parent 153bde3 commit 17c3e16

3 files changed

Lines changed: 2 additions & 351 deletions

File tree

.zuul.yaml

Lines changed: 2 additions & 324 deletions
Original file line numberDiff line numberDiff line change
@@ -1,325 +1,3 @@
1-
- nodeset:
2-
name: atmosphere-ubuntu-jammy-single-node
3-
nodes:
4-
- name: instance
5-
label: ubuntu-jammy
6-
groups: &single_node_groups
7-
- name: controllers
8-
nodes:
9-
- instance
10-
- name: cephs
11-
nodes:
12-
- instance
13-
- name: computes
14-
nodes:
15-
- instance
16-
17-
- nodeset:
18-
name: atmosphere-ubuntu-jammy-single-node-16
19-
nodes:
20-
- name: instance
21-
label: ubuntu-jammy-16
22-
groups: *single_node_groups
23-
24-
- job:
25-
name: atmosphere-molecule
26-
parent: molecule
27-
abstract: true
28-
nodeset: atmosphere-ubuntu-jammy-single-node
29-
pre-run: test-playbooks/molecule/pre.yml
30-
post-run: test-playbooks/molecule/post.yml
31-
irrelevant-files:
32-
- ^doc/.*$
33-
- ^releasenotes/.*$
34-
required-projects:
35-
- ansible-collections/ansible.netcommon
36-
- ansible-collections/ansible.posix
37-
- ansible-collections/ansible.utils
38-
- ansible-collections/community.crypto
39-
- ansible-collections/community.general
40-
- ansible-collections/community.mysql
41-
- ansible-collections/kubernetes.core
42-
- openstack/ansible-collections-openstack
43-
- vexxhost/ansible-collection-ceph
44-
- vexxhost/ansible-collection-containers
45-
- vexxhost/ansible-collection-kubernetes
46-
- vexxhost/atmosphere.common
47-
roles:
48-
- zuul: opendev.org/openstack/openstack-helm
49-
vars:
50-
atmosphere_image_prefix: "harbor.atmosphere.dev/"
51-
ceph_fsid: 4837cbf8-4f90-4300-b3f6-726c9b9f89b4
52-
ceph_conf_overrides:
53-
- section: global
54-
option: mon allow pool size one
55-
value: true
56-
- section: global
57-
option: osd crush chooseleaf type
58-
value: 0
59-
- section: mon
60-
option: auth allow insecure global id reclaim
61-
value: false
62-
ceph_osd_devices:
63-
- "/dev/ceph-{{ inventory_hostname_short }}-osd0/data"
64-
- "/dev/ceph-{{ inventory_hostname_short }}-osd1/data"
65-
- "/dev/ceph-{{ inventory_hostname_short }}-osd2/data"
66-
kube_vip_interface: "{{ ansible_facts['default_ipv4'].interface }}"
67-
kube_vip_address: 172.17.0.100
68-
kubernetes_hostname: "{{ ansible_facts['default_ipv4'].address }}"
69-
cilium_helm_values:
70-
operator:
71-
replicas: 1
72-
ceph_csi_rbd_helm_values:
73-
provisioner:
74-
replicaCount: 1
75-
76-
- job:
77-
name: atmosphere-molecule-csi
78-
parent: atmosphere-molecule
79-
abstract: true
80-
vars:
81-
molecule_scenario: csi
82-
83-
- job:
84-
name: atmosphere-molecule-csi-local-path-provisioner
85-
parent: atmosphere-molecule-csi
86-
vars:
87-
csi_driver: local-path-provisioner
88-
89-
- job:
90-
name: atmosphere-molecule-csi-rbd
91-
parent: atmosphere-molecule-csi
92-
vars:
93-
csi_driver: rbd
94-
95-
- job:
96-
name: atmosphere-molecule-aio
97-
parent: atmosphere-molecule
98-
abstract: true
99-
timeout: 7200
100-
nodeset: atmosphere-ubuntu-jammy-single-node-16
101-
vars:
102-
molecule_scenario: aio
103-
ceph_version: 18.2.7
104-
kubernetes_keepalived_interface: br-mgmt
105-
csi_driver: local-path-provisioner
106-
cluster_issuer_type: self-signed
107-
valkey_helm_values:
108-
replica:
109-
replicaCount: 1
110-
ingress_nginx_helm_values:
111-
controller:
112-
config:
113-
worker-processes: 2
114-
percona_xtradb_cluster_spec:
115-
allowUnsafeConfigurations: true
116-
pxc:
117-
size: 1
118-
haproxy:
119-
size: 1
120-
keystone_helm_values:
121-
pod:
122-
replicas:
123-
api: 1
124-
barbican_helm_values:
125-
pod:
126-
replicas:
127-
api: 1
128-
rook_ceph_cluster_radosgw_spec:
129-
metadataPool:
130-
failureDomain: osd
131-
dataPool:
132-
failureDomain: osd
133-
gateway:
134-
instances: 1
135-
glance_helm_values:
136-
conf:
137-
glance:
138-
DEFAULT:
139-
workers: 2
140-
glance_store:
141-
rbd_store_replication: 1
142-
pod:
143-
replicas:
144-
api: 1
145-
glance_images:
146-
- name: cirros
147-
url: http://download.cirros-cloud.net/0.6.2/cirros-0.6.2-x86_64-disk.img
148-
min_disk: 1
149-
disk_format: raw
150-
container_format: bare
151-
is_public: true
152-
staffeln_helm_values:
153-
pod:
154-
replicas:
155-
api: 1
156-
conductor: 1
157-
cinder_helm_values:
158-
conf:
159-
ceph:
160-
pools:
161-
backup:
162-
replication: 1
163-
cinder.volumes:
164-
replication: 1
165-
cinder:
166-
DEFAULT:
167-
osapi_volume_workers: 2
168-
pod:
169-
replicas:
170-
api: 1
171-
scheduler: 1
172-
placement_helm_values:
173-
conf:
174-
placement_api_uwsgi:
175-
uwsgi:
176-
processes: 2
177-
pod:
178-
replicas:
179-
api: 1
180-
ovn_helm_values:
181-
conf:
182-
auto_bridge_add:
183-
br-ex: null
184-
pod:
185-
replicas:
186-
ovn_ovsdb_nb: 1
187-
ovn_ovsdb_sb: 1
188-
ovn_northd: 1
189-
coredns_helm_values:
190-
replicaCount: 1
191-
nova_helm_values:
192-
conf:
193-
nova:
194-
DEFAULT:
195-
osapi_compute_workers: 2
196-
metadata_workers: 2
197-
conductor:
198-
workers: 2
199-
scheduler:
200-
workers: 2
201-
pod:
202-
replicas:
203-
api_metadata: 1
204-
osapi: 1
205-
conductor: 1
206-
scheduler: 1
207-
novncproxy: 1
208-
spiceproxy: 1
209-
neutron_helm_values:
210-
conf:
211-
neutron:
212-
DEFAULT:
213-
api_workers: 2
214-
rpc_workers: 2
215-
metadata_workers: 2
216-
pod:
217-
replicas:
218-
server: 1
219-
rpc_server: 1
220-
heat_helm_values:
221-
conf:
222-
heat:
223-
DEFAULT:
224-
num_engine_workers: 2
225-
heat_api:
226-
workers: 2
227-
heat_api_cfn:
228-
workers: 2
229-
heat_api_cloudwatch:
230-
workers: 2
231-
pod:
232-
replicas:
233-
api: 1
234-
cfn: 1
235-
cloudwatch: 1
236-
engine: 1
237-
octavia_helm_values:
238-
conf:
239-
octavia:
240-
controller_worker:
241-
workers: 2
242-
octavia_api_uwsgi:
243-
uwsgi:
244-
processes: 2
245-
pod:
246-
replicas:
247-
api: 1
248-
worker: 1
249-
housekeeping: 1
250-
magnum_helm_values:
251-
conf:
252-
magnum:
253-
api:
254-
workers: 2
255-
conductor:
256-
workers: 2
257-
pod:
258-
replicas:
259-
api: 1
260-
conductor: 1
261-
magnum_image_disk_format: qcow2
262-
magnum_images: "[ {{ _magnum_images[-1] }} ]"
263-
manila_helm_values:
264-
conf:
265-
manila:
266-
DEFAULT:
267-
osapi_share_workers: 2
268-
pod:
269-
replicas:
270-
api: 1
271-
scheduler: 1
272-
horizon_helm_values:
273-
pod:
274-
replicas:
275-
server: 1
276-
277-
- job:
278-
name: atmosphere-molecule-aio-openvswitch
279-
parent: atmosphere-molecule-aio
280-
vars:
281-
atmosphere_network_backend: openvswitch
282-
283-
- job:
284-
name: atmosphere-molecule-aio-ovn
285-
parent: atmosphere-molecule-aio
286-
vars:
287-
atmosphere_network_backend: ovn
288-
289-
- job:
290-
name: atmosphere-molecule-keycloak
291-
parent: atmosphere-molecule
292-
vars:
293-
molecule_scenario: keycloak
294-
csi_driver: local-path-provisioner
295-
cluster_issuer_type: self-signed
296-
percona_xtradb_cluster_spec:
297-
allowUnsafeConfigurations: true
298-
pxc:
299-
size: 1
300-
haproxy:
301-
size: 1
302-
keystone_helm_values:
303-
pod:
304-
replicas:
305-
api: 1
306-
ingress_nginx_helm_values:
307-
controller:
308-
config:
309-
worker-processes: 2
310-
3111
- project:
312-
check:
313-
jobs:
314-
- atmosphere-molecule-aio-openvswitch
315-
- atmosphere-molecule-aio-ovn
316-
- atmosphere-molecule-csi-local-path-provisioner
317-
- atmosphere-molecule-csi-rbd
318-
- atmosphere-molecule-keycloak
319-
gate:
320-
jobs:
321-
- atmosphere-molecule-aio-openvswitch
322-
- atmosphere-molecule-aio-ovn
323-
- atmosphere-molecule-csi-local-path-provisioner
324-
- atmosphere-molecule-csi-rbd
325-
- atmosphere-molecule-keycloak
2+
templates:
3+
- atmosphere-molecule-jobs

test-playbooks/molecule/post.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

test-playbooks/molecule/pre.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)