zuul: clean up job definition

This cleans up the zuul job definition:
- moves the 'irrelevant-files' list from project.yaml to
  legacy-sushy-jobs.yaml so that it isn't duplicated
- adds more irrelevant files to the list
- removes requirements.txt from the list of irrelevant files, since
  we want the job to run if this file changes
- reorders the job definition so that the irrelevant-files and
  required-projects are first. This makes it more consistent
  with the other ironic-related projects

Change-Id: Ifea6a3d220943a5a454a803b0633664a91af5c49
This commit is contained in:
Ruby Loo 2017-11-14 13:05:27 -05:00
parent c98978311e
commit 5758dbe30f
2 changed files with 14 additions and 11 deletions

View File

@ -1,9 +1,15 @@
- job:
name: sushy-tempest-dsvm-ironic-ipa-partition-redfish-src
parent: legacy-dsvm-base
run: playbooks/legacy/sushy-tempest-dsvm-ironic-ipa-partition-redfish-src/run.yaml
post-run: playbooks/legacy/sushy-tempest-dsvm-ironic-ipa-partition-redfish-src/post.yaml
timeout: 5400
irrelevant-files:
- ^test-requirements.txt$
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^sushy/tests/.*$
- ^tools/.*$
- ^tox.ini$
required-projects:
- openstack-infra/devstack-gate
- openstack/ironic
@ -14,3 +20,6 @@
- openstack/sushy
- openstack/tempest
- openstack/virtualbmc
run: playbooks/legacy/sushy-tempest-dsvm-ironic-ipa-partition-redfish-src/run.yaml
post-run: playbooks/legacy/sushy-tempest-dsvm-ironic-ipa-partition-redfish-src/post.yaml
timeout: 5400

View File

@ -2,13 +2,7 @@
name: openstack/sushy
check:
jobs:
- sushy-tempest-dsvm-ironic-ipa-partition-redfish-src:
irrelevant-files:
- ^(test-|)requirements.txt$
- ^setup.cfg$
- sushy-tempest-dsvm-ironic-ipa-partition-redfish-src
gate:
jobs:
- sushy-tempest-dsvm-ironic-ipa-partition-redfish-src:
irrelevant-files:
- ^(test-|)requirements.txt$
- ^setup.cfg$
- sushy-tempest-dsvm-ironic-ipa-partition-redfish-src