osmith has uploaded this change for review.

View Change

OBS: support building debian trixie (13) pkgs

Translate "debian:13" to "debian:trixie", as for some reason no docker
tag is getting pushed for "debian:13". With this we can keep using the
usual short naming scheme in pipeline_binpkgs lines in
gerrit-verifications.yml (see next patch).

Change-Id: I1377af7f74f074ed6e28e07dee82360d024edd05
---
M scripts/obs/lib/docker.py
1 file changed, 10 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/59/40859/1
diff --git a/scripts/obs/lib/docker.py b/scripts/obs/lib/docker.py
index a68c7f9..68ed28d 100644
--- a/scripts/obs/lib/docker.py
+++ b/scripts/obs/lib/docker.py
@@ -19,8 +19,16 @@
if image_type.endswith("_manuals"):
return get_image_name(distro, image_type.replace("_manuals", ""))

- if distro == "debian:10":
- distro = "debian/eol:buster"
+ # Ensure we can use short names like "debian:13" instead of "debian:trixie"
+ # even though upstream apparently doesn't push the number-tags anymore:
+ # https://hub.docker.com/_/debian
+ match distro:
+ case "debian:10":
+ distro = "debian/eol:buster"
+ # debian:11 points to debian:bullseye upstream
+ # debian:12 points to debian:bookworm upstream
+ case "debian:13":
+ distro = "debian:trixie"

return distro


To view, visit change 40859. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I1377af7f74f074ed6e28e07dee82360d024edd05
Gerrit-Change-Number: 40859
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>