zuul: Clean up zuul files

Changes to legacy-ironic-inspector-jobs.yaml:
  * Create two base jobs:
    * 'ironic-inspector-tox-func-base'
    * 'ironic-inspector-dsvm-base'
  * Put 'irrelevant-files' section into the new base jobs
  * Have 'requirements.txt' no longer be ignored for DSVM jobs
  * Simplify 'required-projects' sections by removing projects that
    are already pulled in by the 'legacy-dsvm-base' job.

Changes to project.yaml:
  * Move 'irrelevant-files' section from project.yaml to
    legacy-ironic-inspector-jobs.yaml
  * Remove 'branches' section from project.yaml as it is not needed.
  * Sort the jobs list

Change-Id: I6ef94a75fc9e1939c46b2939d01478c5a11621c1
changes/27/520827/1
John L. Villalovos 5 years ago
parent 8104e33366
commit 4404b7a99f
  1. 56
      zuul.d/legacy-ironic-inspector-jobs.yaml
  2. 82
      zuul.d/project.yaml

@ -1,30 +1,32 @@
# 'func' jobs
- job:
name: ironic-inspector-tox-func
name: ironic-inspector-tox-func-base
parent: legacy-base
required-projects:
- openstack/requirements
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- job:
name: ironic-inspector-tox-func
parent: ironic-inspector-tox-func-base
run: playbooks/legacy/ironic-inspector-tox-func/run.yaml
post-run: playbooks/legacy/ironic-inspector-tox-func/post.yaml
timeout: 2400
required-projects:
- openstack/requirements
- job:
name: ironic-inspector-tox-func3
parent: legacy-base
parent: ironic-inspector-tox-func-base
run: playbooks/legacy/ironic-inspector-tox-func3/run.yaml
post-run: playbooks/legacy/ironic-inspector-tox-func3/post.yaml
timeout: 2400
required-projects:
- openstack/requirements
# DSVM jobs
- job:
name: ironic-inspector-grenade-dsvm
name: ironic-inspector-dsvm-base
parent: legacy-dsvm-base
run: playbooks/legacy/ironic-inspector-grenade-dsvm/run.yaml
post-run: playbooks/legacy/ironic-inspector-grenade-dsvm/post.yaml
timeout: 10800
required-projects:
- openstack-dev/grenade
- openstack-infra/devstack-gate
- openstack/ironic
- openstack/ironic-inspector
- openstack/ironic-lib
@ -33,21 +35,27 @@
- openstack/python-ironic-inspector-client
- openstack/python-ironicclient
- openstack/virtualbmc
irrelevant-files:
- ^test-requirements.txt$
- ^.*\.rst$
- ^doc/.*$
- ^ironic_inspector/test/(?!.*tempest).*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tox.ini$
- job:
name: ironic-inspector-grenade-dsvm
parent: ironic-inspector-dsvm-base
run: playbooks/legacy/ironic-inspector-grenade-dsvm/run.yaml
post-run: playbooks/legacy/ironic-inspector-grenade-dsvm/post.yaml
timeout: 10800
required-projects:
- openstack-dev/grenade
- job:
name: ironic-inspector-tempest-dsvm-discovery
parent: legacy-dsvm-base
parent: ironic-inspector-dsvm-base
run: playbooks/legacy/ironic-inspector-tempest-dsvm-discovery/run.yaml
post-run: playbooks/legacy/ironic-inspector-tempest-dsvm-discovery/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/ironic
- openstack/ironic-inspector
- openstack/ironic-lib
- openstack/ironic-python-agent
- openstack/pyghmi
- openstack/python-ironic-inspector-client
- openstack/python-ironicclient
- openstack/tempest
- openstack/virtualbmc

@ -2,77 +2,15 @@
name: openstack/ironic-inspector
check:
jobs:
- ironic-inspector-tox-func:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ironic-inspector-tox-func3:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ironic-inspector-grenade-dsvm:
branches: ^(?!stable/newton).*$
irrelevant-files:
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^doc/.*$
- ^ironic_inspector/test/(?!.*tempest).*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tox.ini$
- ironic-inspector-tempest-dsvm-discovery:
irrelevant-files:
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^doc/.*$
- ^ironic_inspector/test/(?!.*tempest).*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tox.ini$
- ironic-tempest-dsvm-ironic-inspector:
irrelevant-files:
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^doc/.*$
- ^ironic_inspector/test/(?!.*tempest).*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tox.ini$
- ironic-inspector-grenade-dsvm
- ironic-inspector-tempest-dsvm-discovery
- ironic-inspector-tox-func
- ironic-inspector-tox-func3
- ironic-tempest-dsvm-ironic-inspector
gate:
jobs:
- ironic-inspector-tox-func:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ironic-inspector-tox-func3:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ironic-inspector-grenade-dsvm:
branches: ^(?!stable/newton).*$
irrelevant-files:
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^doc/.*$
- ^ironic_inspector/test/(?!.*tempest).*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tox.ini$
- ironic-inspector-tempest-dsvm-discovery:
irrelevant-files:
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^doc/.*$
- ^ironic_inspector/test/(?!.*tempest).*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tox.ini$
- ironic-tempest-dsvm-ironic-inspector:
irrelevant-files:
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^doc/.*$
- ^ironic_inspector/test/(?!.*tempest).*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tox.ini$
- ironic-inspector-grenade-dsvm
- ironic-inspector-tempest-dsvm-discovery
- ironic-inspector-tox-func
- ironic-inspector-tox-func3
- ironic-tempest-dsvm-ironic-inspector

Loading…
Cancel
Save