Update irrelevant-files to skip run of untouched jobs
Currently when a job config is updated, all other
jobs are triggered unnecessary.
This patch updates irrelevant files to ignore changes
in all job config files except zuul.d/project.yaml(as
this contains the list of jobs to run not their definitions).
With this only the jobs whose definitions are updated(along with
it's child jobs) will be triggered because by default
match-on-config-updates is set to true for a job[1] and
that ignores files or irrelevant-files for a job inclusion.
[1] https://zuul-ci.org/docs/zuul/latest/config/job.html#attr-job.match-on-config-updates
Change-Id: Ida7c3ac974058769eb7ff901715e9b17a998bf79
(cherry picked from commit ca8b40403f
)
Conflicts: zuul.d/rally.yaml
zuul.d/tempest-multinode.yaml
zuul.d/tempest-singlenode.yaml
This commit is contained in:
parent
b073e344f1
commit
67f36f0c5c
@ -26,6 +26,7 @@
|
||||
- ^playbooks/.*$
|
||||
- ^roles/.*$
|
||||
- ^rally-jobs/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
vars:
|
||||
OVN_BRANCH: v20.06.1
|
||||
# TODO(jlibosva): v2.13.1 is incompatible with kernel 4.15.0-118, sticking to commit hash until new v2.13 tag is created
|
||||
@ -77,6 +78,7 @@
|
||||
- ^playbooks/.*$
|
||||
- ^roles/.*$
|
||||
- ^rally-jobs/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-fullstack-with-uwsgi
|
||||
|
@ -21,6 +21,7 @@
|
||||
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
||||
- ^neutron/plugins/ml2/drivers/ovn/.*$
|
||||
- ^vagrant/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
vars:
|
||||
devstack_services:
|
||||
etcd: false
|
||||
@ -162,6 +163,7 @@
|
||||
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
||||
- ^neutron/scheduler/.*$
|
||||
- ^vagrant/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
roles:
|
||||
- zuul: openstack/neutron-tempest-plugin
|
||||
required-projects:
|
||||
|
@ -50,6 +50,7 @@
|
||||
- ^neutron/plugins/ml2/drivers/macvtap/.*$
|
||||
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
||||
- ^neutron/plugins/ml2/drivers/ovn/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-ovn-rally-task
|
||||
@ -84,6 +85,7 @@
|
||||
- ^neutron/plugins/ml2/drivers/macvtap/.*$
|
||||
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
||||
- ^neutron/scheduler/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
vars:
|
||||
devstack_plugins:
|
||||
neutron: https://opendev.org/openstack/neutron
|
||||
|
@ -25,6 +25,7 @@
|
||||
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
||||
- ^neutron/plugins/ml2/drivers/ovn/.*$
|
||||
- ^vagrant/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
voting: false
|
||||
vars:
|
||||
tox_envlist: integrated-network
|
||||
@ -217,6 +218,7 @@
|
||||
- ^neutron/plugins/ml2/drivers/macvtap/.*$
|
||||
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
||||
- ^neutron/scheduler/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
roles:
|
||||
- zuul: zuul/zuul-jobs
|
||||
- zuul: openstack/neutron-tempest-plugin
|
||||
|
@ -65,6 +65,7 @@
|
||||
- ^neutron/plugins/ml2/drivers/macvtap/.*$
|
||||
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
||||
- ^neutron/plugins/ml2/drivers/ovn/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-tempest-dvr
|
||||
@ -100,6 +101,7 @@
|
||||
- ^neutron/plugins/ml2/drivers/macvtap/.*$
|
||||
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
||||
- ^neutron/plugins/ml2/drivers/ovn/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-tempest-iptables_hybrid
|
||||
@ -191,6 +193,7 @@
|
||||
- ^vagrant/.*$
|
||||
- ^neutron/agent/.*$
|
||||
- ^neutron/plugins/ml2/drivers/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-tempest-mariadb-full
|
||||
@ -258,6 +261,7 @@
|
||||
- ^tools/.*$
|
||||
- ^tox.ini$
|
||||
- ^vagrant/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-tempest-with-uwsgi-loki
|
||||
@ -375,6 +379,7 @@
|
||||
- ^neutron/plugins/ml2/drivers/macvtap/.*$
|
||||
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
||||
- ^neutron/scheduler/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-tempest-ipv6-only
|
||||
|
@ -33,6 +33,7 @@
|
||||
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
||||
- ^neutron/plugins/ml2/drivers/ovn/.*$
|
||||
- ^vagrant/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-ovn-tripleo-ci-centos-8-containers-multinode
|
||||
@ -67,3 +68,4 @@
|
||||
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$
|
||||
- ^neutron/scheduler/.*$
|
||||
- ^vagrant/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user