From 95c851660c65feeaa9ff8b0e866e1bef9a271f7e Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Mon, 28 Sep 2015 15:42:52 +1000 Subject: [PATCH] Skip expensive diskimage-builder jobs for docs Skip expensive diskimage-builder jobs when it's only a doc change. Change-Id: I69640bd2dc9c35ec36fc3c2ab45e75b1661bcdd3 --- zuul/layout.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 3083fd3e52..212cc74128 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -721,6 +721,27 @@ jobs: - ^.*\.rst$ - ^doc/.*$ + # skip expensive dib jobs for docs changes; readme's are rst files, + # and doc/* + - name: ^.*dib-dsvm-functests-.*$ + skip-if: + - project: ^openstack/diskimage-builder$ + all-files-match-any: + - ^.*\.rst$ + - ^doc/.*$ + - name: ^.*diskimage-builder-(python27|python34)$ + skip-if: + - project: ^openstack/diskimage-builder$ + all-files-match-any: + - ^.*\.rst$ + - ^doc/.*$ + - name: ^.*tempest-dsvm-ironic-pxe_ssh-dib$ + skip-if: + - project: ^openstack/diskimage-builder$ + all-files-match-any: + - ^.*\.rst$ + - ^doc/.*$ + # Do not run the documentation publishing jobs ({name}-docs) from # "bug/" branches. The (?!gate-) prefix is used in the regex because # we *do* want the gate docs jobs to run, just not the jobs in the