# like project/ref/ubuntu/jessie/.
distro=""
case $DIST in
- bullseye|buster|stretch|jessie|wheezy)
+ bookworm|bullseye|buster|stretch|jessie|wheezy)
distro="debian"
;;
*)
- stretch
- buster
- bullseye
+ - bookworm
- precise
- centos6
- axis:
regex: (mimic|nautilus|octopus|pacific|quincy|reef)
label: '${BRANCH}'
- condition-kind: regex-match
- regex: (xenial|bionic|focal|jammy|centos7|centos8|centos9|buster|bullseye)
+ regex: (xenial|bionic|focal|jammy|centos7|centos8|centos9|buster|bullseye|bookworm)
label: '${DIST}'
on-evaluation-failure: dont-run
steps:
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, centos8, centos7, centos6, jammy, focal, bionic, xenial, trusty, precise, wheezy, jessie, buster, bullseye"
- default: "jammy focal bionic centos8 buster bullseye"
+ description: "A list of distros to build for. Available options are: centos9, centos8, centos7, centos6, jammy, focal, bionic, xenial, trusty, precise, wheezy, jessie, buster, bullseye, bookworm"
+ default: "jammy focal centos8 centos9 bookworm"
- string:
name: ARCHS
# Get distro from DIST for chacra uploads
DISTRO=""
case $DIST in
+ bookworm*)
+ DIST=bookworm
+ DISTRO="debian"
+ ;;
bullseye*)
DIST=bullseye
DISTRO="debian"
dist=$1
[ "$dist" = "sid" ] && dver=""
+ [ "$dist" = "bookworm" ] && dver="~bpo12+1"
[ "$dist" = "bullseye" ] && dver="~bpo11+1"
[ "$dist" = "buster" ] && dver="~bpo10+1"
[ "$dist" = "stretch" ] && dver="~bpo90+1"
# This ugly loop check all possible DEB combinations to see which repo has the most packages since that's likely the repo you want to sync.
current_highest_count=0
-for combo in debian/bullseye ubuntu/bionic ubuntu/focal ubuntu/jammy; do
+for combo in debian/bookworm debian/bullseye ubuntu/bionic ubuntu/focal ubuntu/jammy; do
combo_count=$(curl -s https://chacra.ceph.com/r/$project/$release/$sha1/${combo}/flavors/default/pool/main/c/ceph/ | wc -l)
if [ $combo_count -gt $current_highest_count ]; then
current_highest_count=$combo_count