From: Thore Date: Fri, 12 Jul 2019 23:52:25 +0000 (+0200) Subject: scripts: Add buster X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8b426925f9820813c1883ee88c224e861d4ac0fd;p=ceph-build.git scripts: Add buster Signed-off-by: Thore Kruess --- diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index ff8a630c..dde807fe 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -304,6 +304,10 @@ get_distro_and_target() { # Get distro from DIST for chacra uploads DISTRO="" case $DIST in + buster*) + DIST=buster + DISTRO="debian" + ;; stretch*) DIST=stretch DISTRO="debian" diff --git a/scripts/sync-pull b/scripts/sync-pull index 327dd001..205de50e 100644 --- a/scripts/sync-pull +++ b/scripts/sync-pull @@ -14,7 +14,7 @@ echo "********************************************" # 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/jessie debian/stretch ubuntu/trusty ubuntu/xenial ubuntu/bionic; do +for combo in debian/jessie debian/stretch debian/buster ubuntu/trusty ubuntu/xenial ubuntu/bionic; 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