From: Sage Weil Date: Fri, 8 Mar 2013 23:15:07 +0000 (-0800) Subject: schedule_suite.sh: take machine type X-Git-Tag: 1.1.0~2265 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bfacb3750a4f521faa772d41ce57b07f7564d253;p=teuthology.git schedule_suite.sh: take machine type This script is getting out of hand.. pretty soon we need to move to python and argparse. Signed-off-by: Sage Weil --- diff --git a/schedule_suite.sh b/schedule_suite.sh index ee16ba6e9..bdbd78771 100755 --- a/schedule_suite.sh +++ b/schedule_suite.sh @@ -6,10 +6,11 @@ kernel=$3 email=$4 flavor=$5 teuthology_branch=$6 -template=$7 +mtype=$7 +template=$8 if [ -z "$email" ]; then - echo "usage: $0 [flavor] [teuthology-branch] [template]" + echo "usage: $0 [flavor] [teuthology-branch] [machinetype] [template]" echo " flavor can be 'basic', 'gcov', 'notcmalloc'." exit 1 fi @@ -49,6 +50,8 @@ if [ -z "$teuthology_branch" ]; then fi echo "teuthology branch $teuthology_branch" +[ -z "$mtype" ] && mtype="plana" + ## always include this fn="/tmp/schedule.suite.$$" trap "rm $fn" EXIT @@ -57,6 +60,7 @@ kernel: kdb: true sha1: $KERNEL_SHA1 nuke-on-error: true +machine_type: $mtype tasks: - chef: - clock: