zuul: centralize 'irrelevant-files' list
This cleans up the zuul job definitions. It moves the 'irrelevant-files' lists from project.yaml to legacy-ironicclient-jobs.yaml For irrelevant files for ironicclient-tempest-dsvm-src, it: - adds more irrelevant files - removes requirements.txt from the list of irrelevant files since we want the tests run if this file changes - changes it to inherit from legacy-dsvm-base instead of legacy-ironic-dsvm-base, to remove one level of inheritance, which makes it simpler to see the definition The jobs in projects.yaml are sorted in in alphabetical order. Change-Id: I5a927592754b64a1ef64e52658b774a26947c516
This commit is contained in:
parent
3220b57a97
commit
3eb61e6ffd
@ -1,17 +1,41 @@
|
||||
- job:
|
||||
name: ironicclient-dsvm-functional
|
||||
parent: legacy-dsvm-base
|
||||
run: playbooks/legacy/ironicclient-dsvm-functional/run.yaml
|
||||
post-run: playbooks/legacy/ironicclient-dsvm-functional/post.yaml
|
||||
timeout: 4800
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
required-projects:
|
||||
- openstack-infra/devstack-gate
|
||||
- openstack/ironic
|
||||
- openstack/python-ironicclient
|
||||
run: playbooks/legacy/ironicclient-dsvm-functional/run.yaml
|
||||
post-run: playbooks/legacy/ironicclient-dsvm-functional/post.yaml
|
||||
timeout: 4800
|
||||
|
||||
- job:
|
||||
name: ironicclient-tempest-dsvm-src
|
||||
parent: legacy-ironic-dsvm-base
|
||||
# NOTE: We do not use 'legacy-ironic-dsvm-base' as it is simpler and
|
||||
# less confusing to define it all here and use 'legacy-dsvm-base'.
|
||||
parent: legacy-dsvm-base
|
||||
irrelevant-files:
|
||||
- ^test-requirements.txt$
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^ironicclient/tests/.*$
|
||||
- ^releasenotes/.*$
|
||||
- ^setup.cfg$
|
||||
- ^tools/.*$
|
||||
- ^tox.ini$
|
||||
required-projects:
|
||||
- openstack-infra/devstack-gate
|
||||
- openstack/ironic
|
||||
- openstack/ironic-lib
|
||||
- openstack/ironic-python-agent
|
||||
- openstack/pyghmi
|
||||
- openstack/python-ironicclient
|
||||
- openstack/tempest
|
||||
- openstack/virtualbmc
|
||||
run: playbooks/legacy/ironicclient-tempest-dsvm-src/run.yaml
|
||||
post-run: playbooks/legacy/ironicclient-tempest-dsvm-src/post.yaml
|
||||
timeout: 10800
|
||||
|
@ -2,29 +2,9 @@
|
||||
name: openstack/python-ironicclient
|
||||
check:
|
||||
jobs:
|
||||
- ironicclient-tempest-dsvm-src:
|
||||
irrelevant-files:
|
||||
- ^(test-|)requirements.txt$
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- ^setup.cfg$
|
||||
- ironicclient-dsvm-functional:
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- ironicclient-dsvm-functional
|
||||
- ironicclient-tempest-dsvm-src
|
||||
gate:
|
||||
jobs:
|
||||
- ironicclient-tempest-dsvm-src:
|
||||
irrelevant-files:
|
||||
- ^(test-|)requirements.txt$
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- ^setup.cfg$
|
||||
- ironicclient-dsvm-functional:
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- ironicclient-dsvm-functional
|
||||
- ironicclient-tempest-dsvm-src
|
||||
|
Loading…
Reference in New Issue
Block a user