Skip to content

Commit f2b58bb

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Make all functional tests reusable by other projects"
2 parents a4792bb + f2a2a6b commit f2b58bb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.zuul.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@
4848
Run tox-based functional tests for the OpenStack Nova project with Nova
4949
specific irrelevant-files list. Uses tox with the ``functional``
5050
environment.
51+
52+
This job also provides a parent for other projects to run the nova
53+
functional tests on their own changes.
5154
required-projects:
55+
# including nova here makes this job reusable by other projects
56+
- openstack/nova
5257
- openstack/placement
5358
irrelevant-files: &functional-irrelevant-files
5459
- ^.*\.rst$
@@ -57,6 +62,9 @@
5762
- ^nova/locale/.*$
5863
- ^releasenotes/.*$
5964
vars:
65+
# explicitly stating the work dir makes this job reusable by other
66+
# projects
67+
zuul_work_dir: src/opendev.org/openstack/nova
6068
tox_envlist: functional
6169
tox_install_siblings: true
6270
timeout: 3600
@@ -93,10 +101,18 @@
93101
Run tox-based functional tests for the OpenStack Nova project
94102
under cPython version 3.7 with Nova specific irrelevant-files list.
95103
Uses tox with the ``functional-py37`` environment.
104+
105+
This job also provides a parent for other projects to run the nova
106+
functional tests on their own changes.
96107
required-projects:
108+
# including nova here makes this job reusable by other projects
109+
- openstack/nova
97110
- openstack/placement
98111
irrelevant-files: *functional-irrelevant-files
99112
vars:
113+
# explicitly stating the work dir makes this job reusable by other
114+
# projects
115+
zuul_work_dir: src/opendev.org/openstack/nova
100116
tox_envlist: functional-py37
101117
bindep_profile: test py37
102118
python_version: 3.7

0 commit comments

Comments
 (0)