]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
If we're scheduling for non-ubuntu, look for rpms 111/head
authorZack Cerza <zack@cerza.org>
Wed, 25 Sep 2013 22:36:04 +0000 (17:36 -0500)
committerZack Cerza <zack@cerza.org>
Wed, 25 Sep 2013 22:36:04 +0000 (17:36 -0500)
schedule_suite.sh

index 2bdec81d3a3bf61c26965a30cb9b25478cb66abd..77e2f9367ee679bca019d65334d070f095c6c267 100755 (executable)
@@ -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"