From: Sage Weil Date: Wed, 4 Apr 2012 20:54:43 +0000 (-0700) Subject: schedule_suite.sh: helper to schedule a suite X-Git-Tag: 1.1.0~2584 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3adf2bf97534e5bb4efd003689ae60c380e899ce;p=teuthology.git schedule_suite.sh: helper to schedule a suite There's a bunch of stuff hardcoded in here, similar to the nightly, but it's a useful starting point. --- diff --git a/schedule_suite.sh b/schedule_suite.sh new file mode 100755 index 000000000..de5397c1d --- /dev/null +++ b/schedule_suite.sh @@ -0,0 +1,34 @@ +#!/bin/sh + +suite=$1 +ceph=$2 +kernel=$3 +email=$4 + +if [ -z "$email" ]; then + echo "usage: $0 " + exit 1 +fi + +stamp=`date +%Y-%m-%d_%H:%M:%S` + +fn="/tmp/schedule.suite.$$" + +cat < $fn +kernel: + branch: $kernel +nuke-on-error: true +overrides: + ceph: + btrfs: 1 + log-whitelist: + - clocks not synchronized + - old request + branch: $ceph +tasks: +- chef: +EOF + +bin/teuthology-suite -v $fn --collections /home/sage/src/ceph-qa-suite/suites/$suite/* --email $email --timeout 21600 --name $ceph-$stamp + +rm $fn