From: Sage Weil Date: Tue, 3 Jul 2012 19:49:39 +0000 (-0700) Subject: schedule_suite: use the sha1, not branch name X-Git-Tag: 1.1.0~2518 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b99d11c4900bb860f159da867102a094548f5964;p=teuthology.git schedule_suite: use the sha1, not branch name Keep the entire suite run on the same commit. We were resolving the sha1, but not using it. --- diff --git a/schedule_suite.sh b/schedule_suite.sh index b76c89aff8..e254c2aaf2 100755 --- a/schedule_suite.sh +++ b/schedule_suite.sh @@ -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 < $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