From: Zack Cerza Date: Wed, 25 Sep 2013 22:36:04 +0000 (-0500) Subject: If we're scheduling for non-ubuntu, look for rpms X-Git-Tag: 1.1.0~1851^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F111%2Fhead;p=teuthology.git If we're scheduling for non-ubuntu, look for rpms --- diff --git a/schedule_suite.sh b/schedule_suite.sh index 2bdec81d3..77e2f9367 100755 --- a/schedule_suite.sh +++ b/schedule_suite.sh @@ -57,12 +57,22 @@ fi [ ! -d ~/src/teuthology/virtualenv/bin ] && schedule_fail "error: expects to find ~/src/teuthology/virtualenv/bin" ## get sha1 -CEPH_SHA1=`wget http://gitbuilder.ceph.com/ceph-deb-precise-x86_64-$flavor/ref/$ceph/sha1 -O- 2>/dev/null` +if [ "$distro" = "ubuntu" ] +then + CEPH_SHA1=`wget http://gitbuilder.ceph.com/ceph-deb-precise-x86_64-$flavor/ref/$ceph/sha1 -O- 2>/dev/null` +else + CEPH_SHA1=`wget http://gitbuilder.ceph.com/ceph-rpm-fc18-x86_64-$flavor/ref/$ceph/sha1 -O- 2>/dev/null` +fi [ -z "$CEPH_SHA1" ] && schedule_fail "Can't find ceph branch $ceph" # Are there packages for this sha1? -CEPH_VER=`wget http://gitbuilder.ceph.com/ceph-deb-precise-x86_64-$flavor/sha1/$CEPH_SHA1/version -O- 2>/dev/null` +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` +else + CEPH_VER=`wget http://gitbuilder.ceph.com/ceph-rpm-fc18-x86_64-$flavor/sha1/$CEPH_SHA1/version -O- 2>/dev/null` +fi [ -z "$CEPH_VER" ] && schedule_fail "Can't find packages for ceph branch $ceph sha1 $CEPH_SHA1"