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
This commit is contained in:
Martin Kopec 2021-09-14 15:22:42 +02:00
parent 5caf6b0f5f
commit ddedcf10d5

View File

@ -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