Signed-off-by: Thore Kruess <thore@kruess.xyz>
# Get distro from DIST for chacra uploads
DISTRO=""
case $DIST in
+ buster*)
+ DIST=buster
+ DISTRO="debian"
+ ;;
stretch*)
DIST=stretch
DISTRO="debian"
# 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