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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2024-10-22 17:46:58 +01:00 committed by Richard Purdie
parent 51d842b5e0
commit f2ff264492

View File

@ -54,7 +54,7 @@ class Bug:
def get_data(): 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...") logging.debug("Searching bugzilla for AB-INT bugs...")
bz = bugzilla.Bugzilla("https://bugzilla.yoctoproject.org/rest") bz = bugzilla.Bugzilla("https://bugzilla.yoctoproject.org/rest")