From 74b148b685c2ebf86fb7f6dd1ad88969c805d487 Mon Sep 17 00:00:00 2001 From: cid Date: Thu, 23 May 2024 13:39:02 +0100 Subject: [PATCH] Fix negative lookahead assertion syntax error Python regexes are deprecated in Zuul, so this commit updates the configuration to use RE2-compatible syntax. Change-Id: If4973be103076f5a3879dc630e104d129377f7da --- zuul.d/ironic-jobs.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zuul.d/ironic-jobs.yaml b/zuul.d/ironic-jobs.yaml index 0901724dc7..e7c29656fb 100644 --- a/zuul.d/ironic-jobs.yaml +++ b/zuul.d/ironic-jobs.yaml @@ -871,8 +871,10 @@ - ^ironic/tests/.*$ - ^releasenotes/.*$ - ^setup.cfg$ - - ^tools/(?!bandit\.yml).*$ - ^tox.ini$ + - ^tools/.*$ + - regex: ^tools/bandit\.yml$ + negate: true - job: name: ironic-tempest-ipa-wholedisk-bios-ipmi-direct-dib