From 9ac94ccd851d57f13789752f3be824fb9fbac617 Mon Sep 17 00:00:00 2001 From: ghanshyam Date: Wed, 9 May 2018 03:16:04 +0000 Subject: [PATCH] Avoid running kolla source jobs for unnecessary files While fixing test-requirement.txt, I found that check pipeline can be more optimized in term of selecting the jobs to run based on file change. - https://review.openstack.org/#/c/567083/ kolla main jobs are not needed to be run on check pipeline for test-requirements.txt, releasenotes/* etc. This commit skip those jobs when only above files are changed in patch. This is will save time as well as infra resource also. Change-Id: I0c1328237d2109b1d1d5dcb40f331fff1ab10257 --- .zuul.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index 2c058fdc73..113d1d4fc1 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -74,6 +74,8 @@ irrelevant-files: - ^.*\.rst$ - ^doc/.* + - ^(test-|)requirements.txt$ + - ^releasenotes/.*$ vars: scenario: aio roles: