From 0b5006d45af0df1720053c8f7870369022447a2f Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Fri, 12 Jan 2018 16:23:00 +0100 Subject: [PATCH] Make sure that functional test triggered on sample changes To be able to define different irrelevant-files for the functional jobs than the ones defined in openstack-zuul-jobs we need to copy the jobs to the nova tree and modify the fields in tree. Technically we could factor out the irrelevant-files regexp list from functional and functional-py35 jobs as they are the same today. However in the future when they diverge we cannot simply override the irrelevant-files in one of the jobs. Therefore this patch does not introduce a common base job for functinal and functional-py35 jobs to discurage trying to override. The openstack-tox-functional and fuctional-py35 are removed from the nova part of the project-config in I56d44f8dff41dbf3b2ff2382fa39b364f55f9a44 NOTE(mriedem): The nova-tox-functional-py35 job is not backported to Ocata because the job didn't work until Pike. Depends-On: https://review.openstack.org/538619/ Closes-Bug: #1742962 Change-Id: Ia684786d1622da7af31aa4479fc883a7c65848ff (cherry picked from commit d4377c2d537ea998ed96cc8d7071877eefab994f) (cherry picked from commit efa832f35de06db6f673e89e6d2f164ac5c6c2c9) --- .zuul.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .zuul.yaml diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 000000000000..d2f0e341e272 --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,25 @@ +- job: + name: nova-tox-functional + parent: openstack-tox + description: | + Run tox-based functional tests for the OpenStack Nova project with Nova + specific irrelevant-files list. Uses tox with the ``functional`` + environment. + irrelevant-files: + - ^.*\.rst$ + - ^api-.*$ + - ^doc/source/.*$ + - ^nova/locale/.*$ + - ^placement-api-ref/.*$ + - ^releasenotes/.*$ + vars: + tox_envlist: functional + +- project: + name: openstack/nova + check: + jobs: + - nova-tox-functional + gate: + jobs: + - nova-tox-functional