Fix regex lines in zuul.d/* files
Commit 260c968118934 broke the gate by causing jobs to not get run when it added RE2 compatibility for irrelevant-files. Digging found that RE2 doesn't support negative lookahead (and won't ever), so it's impossible to replace the previous pcre filter with a similar RE2 filter. Instead of reverting to the original filter, which is considered obsolete by zuul, this patch fixes the issue by explicitly listing all files under zuul.d/ except the one that we actually want to trigger the jobs: zuul.d/project.yaml. Listing all the files in the directory for every job is not ideal, and we may revisit it later, or perhaps even reconsider the extensive use of irrelevant-files in the neutron tree. This will have to wait for when the gate is in better shape though. [0] https://github.com/google/re2/issues/156 Conflicts: zuul.d/job-templates.yaml zuul.d/project.yaml Related-bug: #2065821 Change-Id: I3bba89ac14414c6b7d375072ae92d2e0b5497736 (cherry picked from commit 11027e3e1ef9a58d5b2faa575a3764bd33cd2a08) (cherry picked from commit 0afdfb0ad5a4b2ede06624b8732a0b14965475df) (cherry picked from commit af8d6155179753e1a6a7eddcc2bd5251879aca01) (cherry picked from commit 0b7af2ba5378bb6d4b2cde1b3564a268107a97c0)
This commit is contained in:
parent
2fdb302167
commit
049bf273d8
@ -32,7 +32,13 @@
|
||||
- ^roles/add_mariadb_repo/.*$
|
||||
- ^roles/nftables/.*$
|
||||
- ^rally-jobs/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
vars:
|
||||
configure_swap_size: 8192
|
||||
Q_BUILD_OVS_FROM_GIT: True
|
||||
@ -96,7 +102,13 @@
|
||||
- ^roles/add_mariadb_repo/.*$
|
||||
- ^roles/nftables/.*$
|
||||
- ^rally-jobs/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-fullstack-with-uwsgi
|
||||
|
@ -33,7 +33,13 @@
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^vagrant/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
vars:
|
||||
devstack_services:
|
||||
etcd: false
|
||||
@ -200,7 +206,13 @@
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^vagrant/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
roles:
|
||||
- zuul: openstack/neutron-tempest-plugin
|
||||
required-projects:
|
||||
|
@ -19,7 +19,13 @@
|
||||
- ^playbooks/.*$
|
||||
- ^roles/.*$
|
||||
- ^rally-jobs/.*$
|
||||
- ^zuul.d/(?!(job-templates)).*\.yaml
|
||||
# Ignore everything except for zuul.d/job-templates.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/project.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
- openstack-tox-py39: # from openstack-python3-zed-jobs template
|
||||
timeout: 3600
|
||||
irrelevant-files: *irrelevant-files
|
||||
@ -108,7 +114,13 @@
|
||||
- ^neutron/scheduler/.*$
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
|
||||
- project-template:
|
||||
name: neutron-periodic-jobs
|
||||
|
@ -81,7 +81,13 @@
|
||||
- ^neutron/common/ovn/.*$
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-ovn-rally-task
|
||||
@ -123,7 +129,13 @@
|
||||
- ^neutron/scheduler/.*$
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
vars:
|
||||
devstack_plugins:
|
||||
neutron: https://opendev.org/openstack/neutron
|
||||
|
@ -37,7 +37,13 @@
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^vagrant/.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
vars:
|
||||
tox_envlist: integrated-network
|
||||
devstack_localrc:
|
||||
@ -359,7 +365,13 @@
|
||||
- ^neutron/scheduler/.*$
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
roles:
|
||||
- zuul: zuul/zuul-jobs
|
||||
- zuul: openstack/neutron-tempest-plugin
|
||||
|
@ -82,7 +82,13 @@
|
||||
- ^neutron/common/ovn/.*$
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-ovs-tempest-dvr
|
||||
@ -143,7 +149,13 @@
|
||||
- ^neutron/common/ovn/.*$
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-ovs-tempest-iptables_hybrid
|
||||
@ -244,7 +256,13 @@
|
||||
- ^neutron/plugins/ml2/drivers/.*$
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-ovn-tempest-mariadb-full
|
||||
@ -320,7 +338,13 @@
|
||||
- ^vagrant/.*$
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
|
||||
- job:
|
||||
name: neutron-ovn-tempest-with-uwsgi-loki
|
||||
@ -448,7 +472,13 @@
|
||||
- ^neutron/scheduler/.*$
|
||||
- ^roles/.*functional.*$
|
||||
- ^playbooks/.*functional.*$
|
||||
- ^zuul.d/(?!(project)).*\.yaml
|
||||
# Ignore everything except for zuul.d/project.yaml
|
||||
- ^zuul.d/base.yaml
|
||||
- ^zuul.d/grenade.yaml
|
||||
- ^zuul.d/job-templates.yaml
|
||||
- ^zuul.d/rally.yaml
|
||||
- ^zuul.d/tempest-multinode.yaml
|
||||
- ^zuul.d/tempest-singlenode.yaml
|
||||
|
||||
# TODO(slaweq): move this to be multinode job when it will be possible in Zuul
|
||||
- job:
|
||||
|
Loading…
x
Reference in New Issue
Block a user