Define common variables for irrelevant-files
We can define common variables for irrelevant-files used across various dsvm and functional jobs and then reference them using node anchors to avoid duplication. Change-Id: Ife046b91c96dd300e8c46125b75623d8e12b8da3 Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
d68b9113a5
commit
fb730473fa
44
.zuul.yaml
44
.zuul.yaml
@ -11,7 +11,7 @@
|
|||||||
- openstack-infra/devstack-gate
|
- openstack-infra/devstack-gate
|
||||||
- openstack/nova
|
- openstack/nova
|
||||||
- openstack/tempest
|
- openstack/tempest
|
||||||
irrelevant-files:
|
irrelevant-files: &dsvm-irrelevant-files
|
||||||
- ^(placement-)?api-.*$
|
- ^(placement-)?api-.*$
|
||||||
- ^(test-|)requirements.txt$
|
- ^(test-|)requirements.txt$
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
@ -38,20 +38,7 @@
|
|||||||
- openstack-infra/devstack-gate
|
- openstack-infra/devstack-gate
|
||||||
- openstack/nova
|
- openstack/nova
|
||||||
- openstack/tempest
|
- openstack/tempest
|
||||||
irrelevant-files:
|
irrelevant-files: *dsvm-irrelevant-files
|
||||||
- ^(placement-)?api-.*$
|
|
||||||
- ^(test-|)requirements.txt$
|
|
||||||
- ^.*\.rst$
|
|
||||||
- ^.git.*$
|
|
||||||
- ^doc/.*$
|
|
||||||
- ^nova/hacking/.*$
|
|
||||||
- ^nova/locale/.*$
|
|
||||||
- ^nova/tests/(?!live_migration).*$
|
|
||||||
- ^releasenotes/.*$
|
|
||||||
- ^setup.cfg$
|
|
||||||
- ^tests-py3.txt$
|
|
||||||
- ^tools/.*$
|
|
||||||
- ^tox.ini$
|
|
||||||
nodeset: legacy-ubuntu-xenial-2-node
|
nodeset: legacy-ubuntu-xenial-2-node
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
@ -61,7 +48,7 @@
|
|||||||
Run tox-based functional tests for the OpenStack Nova project with Nova
|
Run tox-based functional tests for the OpenStack Nova project with Nova
|
||||||
specific irrelevant-files list. Uses tox with the ``functional``
|
specific irrelevant-files list. Uses tox with the ``functional``
|
||||||
environment.
|
environment.
|
||||||
irrelevant-files:
|
irrelevant-files: &functional-irrelevant-files
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
- ^api-.*$
|
- ^api-.*$
|
||||||
- ^doc/source/.*$
|
- ^doc/source/.*$
|
||||||
@ -79,13 +66,7 @@
|
|||||||
Run tox-based functional tests for the OpenStack Nova project
|
Run tox-based functional tests for the OpenStack Nova project
|
||||||
under cPython version 3.5. with Nova specific irrelevant-files list.
|
under cPython version 3.5. with Nova specific irrelevant-files list.
|
||||||
Uses tox with the ``functional-py35`` environment.
|
Uses tox with the ``functional-py35`` environment.
|
||||||
irrelevant-files:
|
irrelevant-files: *functional-irrelevant-files
|
||||||
- ^.*\.rst$
|
|
||||||
- ^api-.*$
|
|
||||||
- ^doc/source/.*$
|
|
||||||
- ^nova/locale/.*$
|
|
||||||
- ^placement-api-ref/.*$
|
|
||||||
- ^releasenotes/.*$
|
|
||||||
vars:
|
vars:
|
||||||
tox_envlist: functional-py35
|
tox_envlist: functional-py35
|
||||||
timeout: 3600
|
timeout: 3600
|
||||||
@ -173,22 +154,7 @@
|
|||||||
# on things like nova docs-only changes.
|
# on things like nova docs-only changes.
|
||||||
- ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa:
|
- ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa:
|
||||||
voting: false
|
voting: false
|
||||||
# This irrelevant-files list should match nova-dsvm-base.
|
irrelevant-files: *dsvm-irrelevant-files
|
||||||
# TODO(mriedem): Define a node anchor to deduplicate this.
|
|
||||||
irrelevant-files:
|
|
||||||
- ^(placement-)?api-.*$
|
|
||||||
- ^(test-|)requirements.txt$
|
|
||||||
- ^.*\.rst$
|
|
||||||
- ^.git.*$
|
|
||||||
- ^doc/.*$
|
|
||||||
- ^nova/hacking/.*$
|
|
||||||
- ^nova/locale/.*$
|
|
||||||
- ^nova/tests/.*$
|
|
||||||
- ^releasenotes/.*$
|
|
||||||
- ^setup.cfg$
|
|
||||||
- ^tests-py3.txt$
|
|
||||||
- ^tools/.*$
|
|
||||||
- ^tox.ini$
|
|
||||||
- nova-cells-v1
|
- nova-cells-v1
|
||||||
- nova-live-migration
|
- nova-live-migration
|
||||||
- nova-lvm
|
- nova-lvm
|
||||||
|
Loading…
Reference in New Issue
Block a user