From f2a2a6b1f77c203b88baa77b01225b72caa23a6f Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Tue, 7 May 2019 11:28:40 -0700 Subject: [PATCH] Make all functional tests reusable by other projects In I73f9dacd912331d209a6fa04eaf5591d94d720f2 the functional-py36 was made reusable by other projects by adding explicitly adding nova to projects and explicitly stating the zuul work dir. This change adds the other functional jobs. Change-Id: Iaf2c1f87ae4a4ec2ecf6cc19220c6d15f8580321 Story: 2005562 --- .zuul.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index 3afec56373d9..de854509513d 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -48,7 +48,12 @@ Run tox-based functional tests for the OpenStack Nova project with Nova specific irrelevant-files list. Uses tox with the ``functional`` environment. + + This job also provides a parent for other projects 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 - ^.*\.rst$ @@ -57,6 +62,9 @@ - ^nova/locale/.*$ - ^releasenotes/.*$ vars: + # explicitly stating the work dir makes this job reusable by other + # projects + zuul_work_dir: src/opendev.org/openstack/nova tox_envlist: functional tox_install_siblings: true timeout: 3600 @@ -93,10 +101,18 @@ Run tox-based functional tests for the OpenStack Nova project under cPython version 3.7 with Nova specific irrelevant-files list. Uses tox with the ``functional-py37`` environment. + + This job also provides a parent for other projects 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-py37 bindep_profile: test py37 python_version: 3.7