Fix Zuul warnings with regexps

zuul now reports warnings when using perl-style regexp:
| The RE2 syntax error is: invalid perl operator: (?!
for
| branches: ^(?!stable)

This commit fixes it by using the correct RE2 syntax

more details: https://zuul-ci.org/docs/zuul/latest/project-config.html#regular-expressions

Change-Id: Iab9d4849d50c01ff35ce159a988fde95593f7ebf
This commit is contained in:
wu.chunyang 2023-09-06 19:54:40 +08:00
parent a34ed4fcbb
commit e4079989db

@ -40,8 +40,10 @@
periodic: periodic:
jobs: jobs:
- publish-trove-guest-image-ubuntu-jammy: - publish-trove-guest-image-ubuntu-jammy:
branches: ^(?!stable/.*).*$ branches:
- publish-trove-guest-image-ubuntu-jammy-dev: regex: ^stable/.*$
branches: ^(?!stable/.*).*$ negate: true
- publish-trove-datastore-images: - publish-trove-datastore-images:
branches: ^(?!stable/.*).*$ branches:
regex: ^stable/.*$
negate: true