]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
script/build-with-container: Add Rocky 9
authorDavid Galloway <david.galloway@ibm.com>
Wed, 23 Jul 2025 19:17:55 +0000 (15:17 -0400)
committerKamoltat Sirivadhna <ksirivad@redhat.com>
Fri, 10 Oct 2025 18:27:42 +0000 (18:27 +0000)
Signed-off-by: David Galloway <david.galloway@ibm.com>
(cherry picked from commit 2996390144f7d0a0ea94edcf95ca7b89c6a62013)
(cherry picked from commit 393a7dc900aaf403d041156cb2a5293e4b64ed2d)

src/script/build-with-container.py

index 838d302553bc83e70d3a4cf0c1f2f1de142c487f..b3c0b649584426ce04c740f9e685d291e77e2c05 100755 (executable)
@@ -95,6 +95,7 @@ class DistroKind(StrEnum):
     CENTOS8 = "centos8"
     CENTOS9 = "centos9"
     FEDORA41 = "fedora41"
+    ROCKY9 = "rocky9"
     ROCKY10 = "rocky10"
     UBUNTU2204 = "ubuntu22.04"
     UBUNTU2404 = "ubuntu24.04"
@@ -106,6 +107,7 @@ class DistroKind(StrEnum):
             cls.CENTOS8,
             cls.CENTOS9,
             cls.FEDORA41,
+            cls.ROCKY9,
             cls.ROCKY10,
         }
 
@@ -125,6 +127,8 @@ class DistroKind(StrEnum):
             "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,
             str(cls.UBUNTU2204): cls.UBUNTU2204,
@@ -145,6 +149,7 @@ class DefaultImage(StrEnum):
     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"
     UBUNTU2204 = "docker.io/ubuntu:22.04"
     UBUNTU2404 = "docker.io/ubuntu:24.04"