From 335595188736a5f4b9dc22a9a76b21270ad761a3 Mon Sep 17 00:00:00 2001 From: Paul Michali Date: Mon, 4 Jan 2016 20:15:17 +0000 Subject: [PATCH] Skip py27/34 jobs when VPN doc (only) change There are checks to skip DSVM based VPN tests, when the changeset is for documentation (only), but nothing checking for python27 and python34 jobs. This adds that check. Change-Id: I18a581bf353646b67ad8df967f0eff87c48f9b86 --- zuul/layout.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 978377b2b9..53930dfae5 100644 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -857,6 +857,7 @@ jobs: - ^.*\.rst$ - ^doc/.*$ - ^releasenotes/.*$ + # Skip non-doc jobs for doc-only neutron-lib changes. - name: ^.*neutron-lib-python(27|34)(-constraints)?$ skip-if: - project: ^openstack/neutron-lib$ @@ -864,6 +865,15 @@ jobs: - ^.*\.rst$ - ^doc/.*$ - ^releasenotes/.*$ + # Skip non-doc jobs for doc-only neutron-vpnaas changes. The dsvm + # tests area already skipped by another check. + - name: ^.*neutron-vpnaas-python(27|34)(-constraints)?$ + skip-if: + - project: ^openstack/neutron-vpnaas$ + all-files-match-any: + - ^.*\.rst$ + - ^doc/.*$ + - ^releasenotes/.*$ # Skip all except release notes and pep8 jobs for heat - name: ^.*heat-(docs|dsvm-functional-(orig|convg)|python(27|34)).*$ skip-if: