From: Matan Breizman Date: Thu, 22 Jan 2026 10:13:16 +0000 (+0200) Subject: quay-pruner/build/util.py: handle debug tag suffix X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2531%2Fhead;p=ceph-build.git quay-pruner/build/util.py: handle debug tag suffix Follow-up to: https://github.com/ceph/ceph/pull/67041 Signed-off-by: Matan Breizman --- diff --git a/quay-pruner/build/util.py b/quay-pruner/build/util.py index cd3d1dae..778d1040 100644 --- a/quay-pruner/build/util.py +++ b/quay-pruner/build/util.py @@ -34,10 +34,10 @@ FULLTAG_RE = re.compile( # 1d7b744e98c74bba9acb22262ef14c776a1e8bfe-crimson-{debug,release} # there are also still older tags with just '-crimson' which ought to still # be handled here -#SHA1_RE = re.compile(r'(?P[0-9a-f]{40})(?P-crimson-debug|-crimson-release|-crimson|-aarch64)*') +#SHA1_RE = re.compile(r'(?P[0-9a-f]{40})(?P-crimson-debug|-crimson-release|-crimson|-debug|-aarch64)*') # ...but, now that we've added an option fromtag, and apparently # switched to arm62, it's more like -SHA1_RE = re.compile(r'(?P[0-9a-f]{40})(?P[a-z0-9-]+)*(?P-crimson-debug|-crimson-release|-crimson|-aarch64)*') +SHA1_RE = re.compile(r'(?P[0-9a-f]{40})(?P[a-z0-9-]+)*(?P-crimson-debug|-crimson-release|-crimson|-debug|-aarch64)*') def parse_full_quay_tag(tag, old=False):