Update regexes in zuul config to the new style
Zuul deprecated using negative lookahead, so convert our uses to using the negate attribute instead. Change-Id: Ie8a1dd151021e6e6c45c04b87f9a03f0a348b8e7
This commit is contained in:
parent
d278500d29
commit
7ee4aab6c6
@ -273,7 +273,9 @@
|
||||
gerrit:
|
||||
- event: patchset-created
|
||||
- event: comment-added
|
||||
username: ^(?!^zuul$)\S+$
|
||||
username:
|
||||
regex: ^zuul$
|
||||
negate: true
|
||||
success:
|
||||
gerrit:
|
||||
PTL-Approved: 1
|
||||
|
@ -120,17 +120,23 @@
|
||||
- noop:
|
||||
branches: master
|
||||
- openafs-deb-package-build:
|
||||
branches: ^(?!master).*$
|
||||
branches:
|
||||
regex: ^master$
|
||||
negate: true
|
||||
gate:
|
||||
jobs:
|
||||
- noop:
|
||||
branches: master
|
||||
- openafs-deb-package-build:
|
||||
branches: ^(?!master).*$
|
||||
branches:
|
||||
regex: ^master$
|
||||
negate: true
|
||||
promote:
|
||||
jobs:
|
||||
- openafs-deb-package-build-promote:
|
||||
branches: ^(?!master).*$
|
||||
branches:
|
||||
regex: ^master$
|
||||
negate: true
|
||||
|
||||
- project:
|
||||
name: opendev/infra-specs
|
||||
@ -151,17 +157,23 @@
|
||||
- noop:
|
||||
branches: master
|
||||
- vhd-util-deb-package-build:
|
||||
branches: ^(?!master).*$
|
||||
branches:
|
||||
regex: ^master$
|
||||
negate: true
|
||||
gate:
|
||||
jobs:
|
||||
- noop:
|
||||
branches: master
|
||||
- vhd-util-deb-package-build:
|
||||
branches: ^(?!master).*$
|
||||
branches:
|
||||
regex: ^master$
|
||||
negate: true
|
||||
promote:
|
||||
jobs:
|
||||
- vhd-util-deb-package-build-promote:
|
||||
branches: ^(?!master).*$
|
||||
branches:
|
||||
regex: ^master$
|
||||
negate: true
|
||||
|
||||
- project:
|
||||
name: opendev/irc-meetings
|
||||
@ -265,14 +277,20 @@
|
||||
post:
|
||||
jobs:
|
||||
- publish-infra-publications:
|
||||
branches: ^(?!master).*$
|
||||
branches:
|
||||
regex: ^master$
|
||||
negate: true
|
||||
- publish-infra-publications-index
|
||||
tag:
|
||||
jobs:
|
||||
- publish-infra-publications:
|
||||
branches: ^(?!master).*$
|
||||
branches:
|
||||
regex: ^master$
|
||||
negate: true
|
||||
- publish-infra-publications-index:
|
||||
branches: ^(?!master).*$
|
||||
branches:
|
||||
regex: ^master$
|
||||
negate: true
|
||||
|
||||
- project:
|
||||
name: opendev/puppet-bup
|
||||
|
Loading…
Reference in New Issue
Block a user