]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
quay-pruner/build/util.py: handle debug tag suffix 2531/head
authorMatan Breizman <mbreizma@redhat.com>
Thu, 22 Jan 2026 10:13:16 +0000 (12:13 +0200)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 22 Jan 2026 10:14:30 +0000 (12:14 +0200)
Follow-up to: https://github.com/ceph/ceph/pull/67041

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
quay-pruner/build/util.py

index cd3d1dae2593ce2a8050b16c3e89e25ac8262282..778d1040a88f2b9e74b58291fe0f8eff40bc2d9f 100644 (file)
@@ -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<sha1>[0-9a-f]{40})(?P<flav_or_arch>-crimson-debug|-crimson-release|-crimson|-aarch64)*')
+#SHA1_RE = re.compile(r'(?P<sha1>[0-9a-f]{40})(?P<flav_or_arch>-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<sha1>[0-9a-f]{40})(?P<fromtag>[a-z0-9-]+)*(?P<flav_or_arch>-crimson-debug|-crimson-release|-crimson|-aarch64)*')
+SHA1_RE = re.compile(r'(?P<sha1>[0-9a-f]{40})(?P<fromtag>[a-z0-9-]+)*(?P<flav_or_arch>-crimson-debug|-crimson-release|-crimson|-debug|-aarch64)*')
 
 
 def parse_full_quay_tag(tag, old=False):