]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
src/script: add bookworm to build-with-container.py
authorDan Mick <dan.mick@redhat.com>
Tue, 7 Oct 2025 01:48:42 +0000 (18:48 -0700)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 8 Oct 2025 23:35:00 +0000 (19:35 -0400)
..and its friend buildcontainer-setup.sh

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 34b497c2f3652e7d30c7b7476b711fd9f1f4ecac)

src/script/build-with-container.py
src/script/buildcontainer-setup.sh

index ef41fb9573d400b27a98bad0cb990ed9b65d12fc..7fd50ea0fc03d036237206f7361e342d9c0ddbab 100755 (executable)
@@ -109,6 +109,7 @@ class DistroKind(StrEnum):
     ROCKY10 = "rocky10"
     UBUNTU2204 = "ubuntu22.04"
     UBUNTU2404 = "ubuntu24.04"
+    BOOKWORM = "bookworm"
 
     @classmethod
     def uses_dnf(cls):
@@ -147,6 +148,7 @@ class DistroKind(StrEnum):
             str(cls.UBUNTU2404): cls.UBUNTU2404,
             "ubuntu-noble": cls.UBUNTU2404,
             "noble": cls.UBUNTU2404,
+            str(cls.BOOKWORM): cls.BOOKWORM,
         }
 
     @classmethod
@@ -163,6 +165,7 @@ class DefaultImage(StrEnum):
     ROCKY10 = "docker.io/rockylinux/rockylinux:10"
     UBUNTU2204 = "docker.io/ubuntu:22.04"
     UBUNTU2404 = "docker.io/ubuntu:24.04"
+    BOOKWORM = "docker.io/debian:bookworm"
 
 
 class CommandFailed(Exception):
index 59e5346791cc14f3be5fd14b774d299b9abf78ed..e5442f4ab7bdd81bc4f8284f48ae5608abbd0580 100644 (file)
@@ -41,7 +41,7 @@ case "${CEPH_BASE_BRANCH}~${DISTRO_KIND}" in
         install_container_deps
         dnf_clean
     ;;
-    *~*ubuntu*)
+    *~*ubuntu*|*~*debian*)
         apt-get update
         apt-get install -y wget reprepro curl software-properties-common lksctp-tools libsctp-dev protobuf-compiler ragel libc-ares-dev
         install_container_deps