]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
schedule_suite: use the sha1, not branch name
authorSage Weil <sage@newdream.net>
Tue, 3 Jul 2012 19:49:39 +0000 (12:49 -0700)
committerSage Weil <sage@newdream.net>
Tue, 3 Jul 2012 19:49:41 +0000 (12:49 -0700)
Keep the entire suite run on the same commit. We were resolving the sha1,
but not using it.

schedule_suite.sh

index b76c89aff8e4cf03aa70bb1992faa4870780162c..e254c2aaf2300e51aa7e84f61066297be886dd70 100755 (executable)
@@ -24,20 +24,22 @@ test ! -d ~/src/teuthology/virtualenv/bin && echo "error: expects to find ~/src/
 KERNEL_SHA1=`wget http://gitbuilder.ceph.com/kernel-deb-precise-x86_64-basic/ref/$kernel/sha1 -O- 2>/dev/null`
 CEPH_SHA1=`wget http://gitbuilder.ceph.com/ceph-tarball-precise-x86_64-$flavor/ref/$ceph/sha1 -O- 2>/dev/null`
 
+
+
 ## always include this
 fn="/tmp/schedule.suite.$$"
 trap "rm $fn" EXIT
 cat <<EOF > $fn
 kernel:
   kdb: true
-  branch: $kernel
+  sha1: $KERNEL_SHA1
 nuke-on-error: true
 tasks:
 - chef:
 - clock:
 overrides:
   ceph:
-    branch: $ceph
+    sha1: $CEPH_SHA1
     log-whitelist:
     - slow request
 EOF