]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts: Add buster
authorThore <thore@kruess.xyz>
Fri, 12 Jul 2019 23:52:25 +0000 (01:52 +0200)
committerThore <thore@kruess.xyz>
Fri, 12 Jul 2019 23:52:25 +0000 (01:52 +0200)
Signed-off-by: Thore Kruess <thore@kruess.xyz>
scripts/build_utils.sh
scripts/sync-pull

index ff8a630c2489728dc888ad196bdf5bdc13ebec95..dde807fe177b81740574ba0080082e58eea01e04 100644 (file)
@@ -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"
index 327dd0018b93dde270d94b3c54978c5d4e31c58b..205de50ebbc498d002a3cf72f35e584cb1788d16 100644 (file)
@@ -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