[ci] Fix zuul configuration errors

Zuul encountered deprecated syntax while parsing
its configuration for the "manila-grenade-skip-level"
job. The "branch" regex didn't conform to RE2 syntax.

The "branch" annotation isn't necessary because
this repository is branched and zuul is capable of
using the job configuration from a specific branch.
So we can just drop it instead of fixing it.

Change-Id: I12dc07c3a62a7d8ca7b895fd6dc98e165f24e944
This commit is contained in:
Goutham Pacha Ravi 2024-07-09 15:38:04 -07:00
parent d14ac25077
commit 5909010736

View File

@ -97,24 +97,10 @@
Grenade job that skips a release, validating that deployers can skip
specific releases as prescribed by our process.
parent: manila-grenade
# NOTE(gmann): This job is started and meant to be run from Yoga release.
# This job is meant to validate the SLURP to SLURP release
# upgrade so supposed to run on SLURP release gate only. To make sure
# that, when the current master is not SLURP release, below branch variant will
# stop running it on not SLURP release master. And once new SLURP release start
# (means the current master is SLURP release), we need to remove the 'master'
# from the below branch variant condition so that it again start running on
# SLURP release master gate.
# Along with grenade gate, this job runs on many other projects gate
# also and in this job definition, we control for everyone to run on SLURP
# release only.
branches: ^(?!stable/(pike|queens|rocky|stein|train|ussuri|victoria|wallaby|xena|zed)).*$
vars:
# Move this forward when master changes to a new skip-level-allowed
# target release. Right now, this is stable/yoga because current master is 2023.1
# the source branch is stable/yoga and the destination is the current branch: 2023.1
# (which is N+2 release from yoga so skipping zed release and testing the upgrade
# from stable/yoga -> 2023.1). When master is 2023.3, this should become 2023.1,
# and so forth.
# from stable/yoga -> 2023.1)
grenade_from_branch: stable/yoga
grenade_localrc:
NOVA_ENABLE_UPGRADE_WORKAROUND: True