From ddedcf10d56e6fc1287afc9a18b946d80e3d8d0e Mon Sep 17 00:00:00 2001 From: Martin Kopec Date: Tue, 14 Sep 2021 15:22:42 +0200 Subject: [PATCH] Define irrelevant-files for zuul jobs In order not to run some of the jobs with unrelated changes, the commit defines a list of irrelevant files containing .rst or doc files as changes in those files don't have affect on any functionality tested by the jobs. Change-Id: I401d61f30b134de260043120db8a51f47a574c29 --- zuul.d/projects.yaml | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index b12a8ab9..e12aadd1 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -3,17 +3,31 @@ - build-openstack-docs-pti check: jobs: - - openstack-tox-pep8 - - interop-tempest-consistency + - openstack-tox-pep8: + # Define a list of irrelevant files to use everywhere else + irrelevant-files: &interop-irrelevant-files + - ^.*\.rst$ + - ^doc/.*$ + - ^.gitignore$ + - ^.gitreview$ + - interop-tempest-consistency: + irrelevant-files: *interop-irrelevant-files # TODO(kopecmartin) master job has issues with ensure-tox role atm # which we will figure out in a following patch. Let's comment out # the job now so that it doesn't block us - # - interop-next-refstack-client-master - - interop-next-refstack-client-wallaby - - interop-next-refstack-client-victoria - - interop-next-refstack-client-ussuri - - interop-next-refstack-client-train + # - interop-next-refstack-client-master: + # irrelevant-files: *interop-irrelevant-files + - interop-next-refstack-client-wallaby: + irrelevant-files: *interop-irrelevant-files + - interop-next-refstack-client-victoria: + irrelevant-files: *interop-irrelevant-files + - interop-next-refstack-client-ussuri: + irrelevant-files: *interop-irrelevant-files + - interop-next-refstack-client-train: + irrelevant-files: *interop-irrelevant-files gate: jobs: - - openstack-tox-pep8 - - interop-tempest-consistency + - openstack-tox-pep8: + irrelevant-files: *interop-irrelevant-files + - interop-tempest-consistency: + irrelevant-files: *interop-irrelevant-files