forked from openstack/masakari
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zuul.yaml
120 lines (116 loc) · 3.82 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
---
- job:
name: masakari-functional-devstack
parent: devstack
description: |
Masakari functional tests job based on devstack (single-node).
pre-run: playbooks/devstack/pre.yaml
run:
- playbooks/devstack/run-devstack.yaml
- playbooks/devstack/run-tox.yaml
post-run: playbooks/devstack/post.yaml
required-projects:
- openstack/masakari
- openstack/masakari-monitors
irrelevant-files:
- ^api-ref/
- ^doc/
- ^masakari/tests/unit/
- ^releasenotes/
- ^\.coveragerc$
- ^\.gitignore$
- ^\.gitreview$
- ^\.mailmap$
- ^\.yamllint$
- ^\.zuul\.yaml$
- ^LICENSE$
- ^.*[^/]+\.rst$
- ^bindep\.txt$
vars:
devstack_plugins:
masakari: https://opendev.org/openstack/masakari
devstack_services:
# NOTE(yoctozepto): Disable controller's cinder (c-* services).
# It is enabled by default by the parent job (devstack) definition.
cinder: false
# NOTE(yoctozepto): Disable controller's swift (s-* services).
# It is enabled by default by the parent job (devstack) definition.
swift: false
host-vars:
controller:
tox_install_siblings: false
tox_envlist: functional
group-vars:
subnode:
devstack_services:
# Override Masakari services on non-controllers (overrides default
# plugin settings in Masakari). Only monitors are left.
masakari-api: false
masakari-engine: false
# NOTE(yoctozepto): Disable compute's cinder (c-* services).
# It is enabled by default by the parent job (devstack) definition.
cinder: false
- job:
name: masakari-functional-devstack-multinode
voting: false
parent: masakari-functional-devstack
description: |
Masakari functional tests job based on devstack (two-node).
nodeset: openstack-two-node-jammy
- job:
name: masakari-functional-devstack-ipv6
voting: false
# NOTE(yoctozepto): The devstack job does not support multinode IPv6 yet.
parent: masakari-functional-devstack
description: |
Masakari functional tests job based on devstack (single-node).
IPv6 variant.
run:
- playbooks/devstack/run-devstack.yaml
- playbooks/devstack/run-verify-config-is-ipv6-only.yaml
- playbooks/devstack/run-tox.yaml
vars:
devstack_localrc:
SERVICE_IP_VERSION: 6
TUNNEL_IP_VERSION: 6
SERVICE_HOST: ""
# Temporary job until SQLAlchemy 2.0 is no longer blocked by upper-requirements
- job:
name: masakari-tox-py310-with-sqlalchemy-2x
parent: openstack-tox-py310
description: |
Run unit tests with main branch of SQLAlchemy, alembic and oslo.db.
Takes advantage of the base tox job's install-siblings feature.
# The job only tests the latest and shouldn't be run on the stable branches
branches: ^(?!stable)
required-projects:
- name: github.com/sqlalchemy/sqlalchemy
override-checkout: main
- name: github.com/sqlalchemy/alembic
override-checkout: main
- name: openstack/oslo.db
- project:
queue: masakari
templates:
- check-requirements
- openstack-cover-jobs
- openstack-python3-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
- periodic-stable-jobs
- periodic-jobs-with-oslo-master
check:
jobs:
- openstack-tox-linters
- masakari-functional-devstack-multinode
- masakari-functional-devstack-ipv6
- masakari-tox-py310-with-sqlalchemy-2x
gate:
jobs:
- openstack-tox-linters
- masakari-functional-devstack-multinode
- masakari-functional-devstack-ipv6
- masakari-tox-py310-with-sqlalchemy-2x
periodic:
jobs:
- masakari-functional-devstack-multinode