From baebffd2448901511f8b9a406b3492c03cc41202 Mon Sep 17 00:00:00 2001 From: Miles Gould Date: Thu, 30 Jun 2016 15:21:59 +0100 Subject: [PATCH] Skip non-doc checks for docs-only TripleO patches This disables the following jobs for docs-only patches to python-tripleoclient and tripleo-common: - gate-python-tripleoclient-python27 - gate-python-tripleoclient-python34 - gate-tripleo-common-python27 - gate-tripleo-common-python34 - gate-tripleo-ci-centos-7-* Change-Id: I5fd0374aabffa68eef44e33855b4b9143e5e7ff4 --- zuul/layout.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/zuul/layout.yaml b/zuul/layout.yaml index fe780d3106..0138547749 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -1264,6 +1264,24 @@ jobs: all-files-match-any: - ^.*\.rst$ - ^doc/.*$ + # Skip non-doc jobs for doc-only python-tripleoclient changes. Since documents + # are checked by python-tripleoclient-pep8 it should not be skipped. + # Tripleo-ci gate jobs are disabled for docs-only patches elsewhere. + - name: ^gate-python-tripleoclient-(python27|python34)$ + skip-if: + - project: ^openstack/python-tripleoclient$ + all-files-match-any: + - ^.*\.rst$ + - ^doc/.*$ + # Skip non-doc jobs for doc-only tripleo-common changes. Since documents + # are checked by tripleo-common-pep8 it should not be skipped. + # Tripleo-ci gate jobs are disabled for docs-only patches elsewhere. + - name: ^gate-tripleo-common-(python27|python34)$ + skip-if: + - project: ^openstack/tripleo-common$ + all-files-match-any: + - ^.*\.rst$ + - ^doc/.*$ # Skip non-doc jobs for doc-only networking-midonet changes. Since # doc/source/conf.py is checked by networking-midonet-pep8, that job # should not be skipped. @@ -1353,6 +1371,10 @@ jobs: - ^tempest/tests/.*$ - ^tempest/hacking/.*$ - ^releasenotes/.*$ + - project: ^openstack/(python-tripleoclient|tripleo-common)$ + all-files-match-any: + - ^.*\.rst$ + - ^doc/.*$ - name: ^gate-puppet-openstackci-puppet-beaker-rspec-.*$ voting: false