Use RE2 compatible regex for irrelevant-files

Zuul has deprecated the usage of negative regex[1] and
reports WARNINGs when these are used.
This patch switches the branches regex to the supported
one.

[1] https://review.opendev.org/c/zuul/zuul/+/916141

Change-Id: I56a286cf33afb574436039128095e260539f63d9
This commit is contained in:
yatinkarel 2024-06-03 12:08:20 +05:30
parent 06c1972a48
commit 260c968118
7 changed files with 32 additions and 16 deletions

View File

@ -35,7 +35,8 @@
- ^roles/add_mariadb_repo/.*$ - ^roles/add_mariadb_repo/.*$
- ^roles/nftables/.*$ - ^roles/nftables/.*$
- ^rally-jobs/.*$ - ^rally-jobs/.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
vars: vars:
configure_swap_size: 8192 configure_swap_size: 8192
Q_BUILD_OVS_FROM_GIT: True Q_BUILD_OVS_FROM_GIT: True
@ -99,7 +100,8 @@
- ^roles/add_mariadb_repo/.*$ - ^roles/add_mariadb_repo/.*$
- ^roles/nftables/.*$ - ^roles/nftables/.*$
- ^rally-jobs/.*$ - ^rally-jobs/.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
- job: - job:
name: neutron-fullstack-with-uwsgi name: neutron-fullstack-with-uwsgi

View File

@ -35,7 +35,8 @@
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^vagrant/.*$ - ^vagrant/.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
vars: vars:
grenade_devstack_localrc: grenade_devstack_localrc:
shared: shared:
@ -251,7 +252,8 @@
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^vagrant/.*$ - ^vagrant/.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
roles: roles:
- zuul: openstack/neutron-tempest-plugin - zuul: openstack/neutron-tempest-plugin
required-projects: required-projects:

View File

@ -22,7 +22,8 @@
- ^playbooks/.*$ - ^playbooks/.*$
- ^roles/.*$ - ^roles/.*$
- ^rally-jobs/.*$ - ^rally-jobs/.*$
- ^zuul.d/(?!(job-templates)).*\.yaml - regex: ^zuul.d/job-templates.yaml
negate: true
- openstack-tox-py311: # from openstack-python3-jobs template - openstack-tox-py311: # from openstack-python3-jobs template
timeout: 3600 timeout: 3600
irrelevant-files: *irrelevant-files irrelevant-files: *irrelevant-files

View File

@ -61,7 +61,8 @@
- ^neutron/scheduler/.*$ - ^neutron/scheduler/.*$
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
gate: gate:
jobs: jobs:

View File

@ -81,7 +81,8 @@
- ^neutron/common/ovn/.*$ - ^neutron/common/ovn/.*$
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
- job: - job:
name: neutron-ovn-rally-task name: neutron-ovn-rally-task
@ -125,7 +126,8 @@
- ^neutron/scheduler/.*$ - ^neutron/scheduler/.*$
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
vars: vars:
devstack_plugins: devstack_plugins:
neutron: https://opendev.org/openstack/neutron neutron: https://opendev.org/openstack/neutron

View File

@ -74,7 +74,8 @@
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^vagrant/.*$ - ^vagrant/.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
vars: vars:
tox_envlist: integrated-network tox_envlist: integrated-network
devstack_localrc: devstack_localrc:
@ -404,7 +405,8 @@
- ^neutron/scheduler/.*$ - ^neutron/scheduler/.*$
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
roles: roles:
- zuul: zuul/zuul-jobs - zuul: zuul/zuul-jobs
- zuul: openstack/neutron-tempest-plugin - zuul: openstack/neutron-tempest-plugin

View File

@ -88,7 +88,8 @@
- ^neutron/common/ovn/.*$ - ^neutron/common/ovn/.*$
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
- job: - job:
name: neutron-ovs-tempest-dvr name: neutron-ovs-tempest-dvr
@ -151,7 +152,8 @@
- ^neutron/common/ovn/.*$ - ^neutron/common/ovn/.*$
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
- job: - job:
name: neutron-ovs-tempest-iptables_hybrid name: neutron-ovs-tempest-iptables_hybrid
@ -260,7 +262,8 @@
- ^neutron/plugins/ml2/drivers/.*$ - ^neutron/plugins/ml2/drivers/.*$
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
- job: - job:
name: neutron-ovn-tempest-mariadb-full name: neutron-ovn-tempest-mariadb-full
@ -347,7 +350,8 @@
- ^neutron/plugins/ml2/drivers/mech_sriov/.*$ - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
- job: - job:
name: neutron-ovn-tempest-with-neutron-lib-master name: neutron-ovn-tempest-with-neutron-lib-master
@ -484,7 +488,8 @@
- ^vagrant/.*$ - ^vagrant/.*$
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
- job: - job:
name: neutron-ovn-tempest-with-uwsgi-loki name: neutron-ovn-tempest-with-uwsgi-loki
@ -626,7 +631,8 @@
- ^neutron/scheduler/.*$ - ^neutron/scheduler/.*$
- ^roles/.*functional.*$ - ^roles/.*functional.*$
- ^playbooks/.*functional.*$ - ^playbooks/.*functional.*$
- ^zuul.d/(?!(project)).*\.yaml - regex: ^zuul.d/project.*\.yaml
negate: true
- job: - job:
name: neutron-ovn-tempest-ovs-release name: neutron-ovn-tempest-ovs-release