From 803429361397484c42cbefb6094c9588ffe7296b Mon Sep 17 00:00:00 2001 From: Martin Kopec Date: Wed, 20 Sep 2023 09:32:21 +0200 Subject: [PATCH] Use re2 compatible regexes in branch matchers Python regexes are deprecated in Zuul, so update the use of regexes in branch matchers with re2-compatible syntax. The commit also removes matches for branches that are EOL - all branches until stable/rocky (including). Change-Id: I43c696ef2029cbf351f902b293df05f296dbb2a2 --- .zuul.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zuul.yaml b/.zuul.yaml index 039b8bba..a499b9dc 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -337,7 +337,9 @@ - job: name: grenade-dsvm-neutron-forward - branches: ^(?!(stable/(ocata|pike|queens|rocky|stein|train))).*$ + branches: + regex: ^stable/(stein|train)$ + negate: true parent: grenade-forward - job: