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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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