Make nova-tox-functional-py36 reusable

We'd like placement to be able to run this job itself. Instead of
duplicating it, we can simply use it directly. However, according
to discussions with the infra gang, to ensure that works properly
we need to make openstack/nova a required project and explicitly
set zuul_work_dir. These are the default values already when
used from nova itself.

Change-Id: I73f9dacd912331d209a6fa04eaf5591d94d720f2
Story: 2005562
This commit is contained in:
Chris Dent 2019-05-03 16:22:58 -06:00
parent 1f74441680
commit 2860bef70a

View File

@ -69,10 +69,18 @@
Run tox-based functional tests for the OpenStack Nova project
under cPython version 3.6 with Nova specific irrelevant-files list.
Uses tox with the ``functional-py36`` environment.
This job also provides a parent for other projects (notably placement)
to run the nova functional tests on their own changes.
required-projects:
# including nova here makes this job reusable by other projects
- openstack/nova
- openstack/placement
irrelevant-files: *functional-irrelevant-files
vars:
# explicitly stating the work dir makes this job reusable by other
# projects
zuul_work_dir: src/opendev.org/openstack/nova
tox_envlist: functional-py36
bindep_profile: test py36
timeout: 3600