From 4430a5ad6be6f26309d5f5bea0e448a4bbd432e1 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Wed, 8 Oct 2025 10:26:58 -0400 Subject: [PATCH] script/build-with-container: lightly organize the distro kind aliases Do a tiny reorg of the distro kind aliases and container images to keep the EL distros together and comment out each "section". Signed-off-by: John Mulligan --- src/script/build-with-container.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/script/build-with-container.py b/src/script/build-with-container.py index b121146a48782..8cf88ffdbf093 100755 --- a/src/script/build-with-container.py +++ b/src/script/build-with-container.py @@ -131,23 +131,27 @@ class DistroKind(StrEnum): @classmethod def aliases(cls): return { + # EL distros str(cls.CENTOS10): cls.CENTOS10, "centos10stream": cls.CENTOS10, str(cls.CENTOS8): cls.CENTOS8, str(cls.CENTOS9): cls.CENTOS9, "centos9stream": cls.CENTOS9, - str(cls.FEDORA41): cls.FEDORA41, - "fc41": cls.FEDORA41, str(cls.ROCKY9): cls.ROCKY9, 'rockylinux9': cls.ROCKY9, str(cls.ROCKY10): cls.ROCKY10, 'rockylinux10': cls.ROCKY10, + # fedora + str(cls.FEDORA41): cls.FEDORA41, + "fc41": cls.FEDORA41, + # ubuntu str(cls.UBUNTU2204): cls.UBUNTU2204, "ubuntu-jammy": cls.UBUNTU2204, "jammy": cls.UBUNTU2204, str(cls.UBUNTU2404): cls.UBUNTU2404, "ubuntu-noble": cls.UBUNTU2404, "noble": cls.UBUNTU2404, + # debian str(cls.DEBIAN12): cls.DEBIAN12, "debian-bookworm": cls.DEBIAN12, "bookworm": cls.DEBIAN12, @@ -159,14 +163,18 @@ class DistroKind(StrEnum): class DefaultImage(StrEnum): + # EL distros CENTOS10 = "quay.io/centos/centos:stream10" CENTOS8 = "quay.io/centos/centos:stream8" CENTOS9 = "quay.io/centos/centos:stream9" - FEDORA41 = "registry.fedoraproject.org/fedora:41" ROCKY9 = "docker.io/rockylinux/rockylinux:9" ROCKY10 = "docker.io/rockylinux/rockylinux:10" + # fedora + FEDORA41 = "registry.fedoraproject.org/fedora:41" + # ubuntu UBUNTU2204 = "docker.io/ubuntu:22.04" UBUNTU2404 = "docker.io/ubuntu:24.04" + # debian DEBIAN12 = "docker.io/debian:bookworm" -- 2.39.5