From b99d11c4900bb860f159da867102a094548f5964 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 3 Jul 2012 12:49:39 -0700 Subject: [PATCH] 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. --- schedule_suite.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/schedule_suite.sh b/schedule_suite.sh index b76c89aff8e4c..e254c2aaf2300 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 -- 2.39.5