From db39391fe082ae1d0ea45c5751b109f1074bc254 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Tue, 11 Feb 2020 16:40:33 -0600 Subject: [PATCH] Skip to run all integration jobs for policy-only changes. Currently we run all the integration jobs for policies only changes which is not required. Policy-only changes can be covered by unit, functional and single tempest, grenade job. Change-Id: I4b2d321b7243ec149e9445035d1feb7a425e9a4b --- .zuul.yaml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index dbc75aa517..840703a1ff 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -21,6 +21,7 @@ - ^doc/.*$ - ^nova/hacking/.*$ - ^nova/locale/.*$ + - ^nova/policies/.*$ - ^nova/tests/.*$ - ^nova/test.py$ - ^releasenotes/.*$ @@ -378,9 +379,26 @@ - nova-next - nova-tox-functional-py36 - tempest-integrated-compute: - irrelevant-files: *dsvm-irrelevant-files + # NOTE(gmann): Policies changes do not need to run all the + # integration test jobs. Running only tempest and grenade + # common jobs will be enough along with nova functional + # and unit tests. + irrelevant-files: &policies-irrelevant-files + - ^api-.*$ + - ^(test-|)requirements.txt$ + - ^.*\.rst$ + - ^.git.*$ + - ^doc/.*$ + - ^nova/hacking/.*$ + - ^nova/locale/.*$ + - ^nova/tests/.*$ + - ^nova/test.py$ + - ^releasenotes/.*$ + - ^setup.cfg$ + - ^tools/.*$ + - ^tox.ini$ - grenade-py3: - irrelevant-files: *dsvm-irrelevant-files + irrelevant-files: *policies-irrelevant-files - tempest-ipv6-only: irrelevant-files: *dsvm-irrelevant-files gate: @@ -391,9 +409,9 @@ - nova-multi-cell - nova-next - tempest-integrated-compute: - irrelevant-files: *dsvm-irrelevant-files + irrelevant-files: *policies-irrelevant-files - grenade-py3: - irrelevant-files: *dsvm-irrelevant-files + irrelevant-files: *policies-irrelevant-files - tempest-ipv6-only: irrelevant-files: *dsvm-irrelevant-files experimental: