From be426d1b1e292e4938bf7c2d8b536be1b16d20cd Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 10 Sep 2012 11:09:25 -0700 Subject: [PATCH] schedule_suite.sh: try to use same branch for s3-tests.git If it isn't there, warn and fall back to master. --- schedule_suite.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/schedule_suite.sh b/schedule_suite.sh index 70da58f738d27..48299e63eb6eb 100755 --- a/schedule_suite.sh +++ b/schedule_suite.sh @@ -24,6 +24,12 @@ 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` +if wget http://github.com/ceph/s3-tests/tree/$ceph -O- 2>/dev/null ; then + s3branch=$ceph +else + echo "branch $ceph not in s3-tests.git; will use master for s3tests" + s3branch='master' +fi ## always include this @@ -40,6 +46,8 @@ tasks: overrides: workunit: sha1: $CEPH_SHA1 + s3tests: + branch: $s3branch ceph: sha1: $CEPH_SHA1 log-whitelist: -- 2.39.5