]> 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)
committerDavid Galloway <david.galloway@ibm.com>
Thu, 31 Jul 2025 16:16:28 +0000 (12:16 -0400)
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 29170e0daa4ace8caa872c14fc5e7cc5fea296be..5f6d782124d57616aaf7dd72792938d5fa96c33e 100755 (executable)
@@ -96,6 +96,7 @@ class DistroKind(StrEnum):
     CENTOS8 = "centos8"
     CENTOS9 = "centos9"
     FEDORA41 = "fedora41"
+    ROCKY9 = "rocky9"
     ROCKY10 = "rocky10"
     UBUNTU2204 = "ubuntu22.04"
     UBUNTU2404 = "ubuntu24.04"
@@ -107,6 +108,7 @@ class DistroKind(StrEnum):
             cls.CENTOS8,
             cls.CENTOS9,
             cls.FEDORA41,
+            cls.ROCKY9,
             cls.ROCKY10,
         }
 
@@ -126,6 +128,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,
@@ -146,6 +150,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"