Skip to contentSkip to conversation

scripts/abint: generalise autobuilder URL regex

PATCH New Ross Burton 1 participant 1 message Oct 22, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 scripts/abint: generalise autobuilder URL regex

The autobuilder isn't just autobuilder.yoctoproject.org, as the new cluster is valkyrie.yoctoproject.org. Generalise the regex to match on any buildbot URLs with "yocto" in the hostname, as we also have machines using *.yocto.io.

---
 scripts/abint/abint.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/abint/abint.py +1 -1
index 1d358836..5a4a9b81 100755
@@ -54,7 +54,7 @@ class Bug:
 
 
 def get_data():
-    url_re = r"(?P<server>https?://autobuilder.yoctoproject.org/typhoon/)#/?builders/(?P<builder>\d+)/builds/(?P<build>\d+)"
+    url_re = r"(?P<server>https?://.+yocto.+/)#/?builders/(?P<builder>\d+)/builds/(?P<build>\d+)"
 
     logging.debug("Searching bugzilla for AB-INT bugs...")
     bz = bugzilla.Bugzilla("https://bugzilla.yoctoproject.org/rest")
Signature · 1 line
2.34.1