From: Sandon Van Ness Date: Sat, 9 Nov 2013 01:00:27 +0000 (-0800) Subject: For saya (arm) use arm gitbuilder for ceph sha1. X-Git-Tag: v0.94.10~27^2^2~364^2~486 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1fd25f1ceee04c1dcf191e41b45593ce9f9be826;p=ceph.git For saya (arm) use arm gitbuilder for ceph sha1. Since the arm gitbuilder (even using a ton of nodes for distcc) is much slower than x86 lets grab the sha1 from its own gitbuilder when machine_type is saya rather than the x86 one. Signed-off-by: Sandon Van Ness --- diff --git a/schedule_suite.sh b/schedule_suite.sh index 6920f72a6fef..2f1c31b364c5 100755 --- a/schedule_suite.sh +++ b/schedule_suite.sh @@ -60,7 +60,12 @@ fi ## get sha1 if [ "$distro" = "ubuntu" ] then - CEPH_SHA1=`wget http://gitbuilder.ceph.com/ceph-deb-precise-x86_64-$flavor/ref/$ceph/sha1 -O- 2>/dev/null` + if [ "$mtype" = "saya" ] + then + CEPH_SHA1=`wget http://gitbuilder.ceph.com/ceph-deb-quantal-armv7l-$flavor/ref/$ceph/sha1 -O- 2>/dev/null` + else + CEPH_SHA1=`wget http://gitbuilder.ceph.com/ceph-deb-precise-x86_64-$flavor/ref/$ceph/sha1 -O- 2>/dev/null` + fi else CEPH_SHA1=`wget http://gitbuilder.ceph.com/ceph-rpm-fc18-x86_64-$flavor/ref/$ceph/sha1 -O- 2>/dev/null` fi @@ -70,7 +75,12 @@ fi # Are there packages for this sha1? if [ "$distro" = "ubuntu" ] then - CEPH_VER=`wget http://gitbuilder.ceph.com/ceph-deb-precise-x86_64-$flavor/sha1/$CEPH_SHA1/version -O- 2>/dev/null` + if [ "$mtype" = "saya" ] + then + CEPH_VER=`wget http://gitbuilder.ceph.com/ceph-deb-quantal-armv7l-$flavor/sha1/$CEPH_SHA1/version -O- 2>/dev/null` + else + CEPH_VER=`wget http://gitbuilder.ceph.com/ceph-deb-precise-x86_64-$flavor/sha1/$CEPH_SHA1/version -O- 2>/dev/null` + fi else CEPH_VER=`wget http://gitbuilder.ceph.com/ceph-rpm-fc18-x86_64-$flavor/sha1/$CEPH_SHA1/version -O- 2>/dev/null` fi