From 71b66ebd9990e4ec2afb746e29432c24c226395f Mon Sep 17 00:00:00 2001 From: Sandon Van Ness Date: Tue, 23 Jul 2013 16:09:07 -0700 Subject: [PATCH] Add distro type to schedule_suite.sh Also added machinetype to the name. Signed-off-by: Sandon Van Ness --- schedule_suite.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/schedule_suite.sh b/schedule_suite.sh index 031c92f15e..1464c52117 100755 --- a/schedule_suite.sh +++ b/schedule_suite.sh @@ -8,15 +8,18 @@ flavor=$5 teuthology_branch=$6 mtype=$7 template=$8 +distro=$9 if [ -z "$email" ]; then - echo "usage: $0 [flavor] [teuthology-branch] [machinetype] [template]" + echo "usage: $0 [flavor] [teuthology-branch] [machinetype] [template] [distro]" echo " flavor can be 'basic', 'gcov', 'notcmalloc'." exit 1 fi [ -z "$flavor" ] && flavor='basic' +[ -z "$distro" ] && distro='ubuntu' + ## test ! -d ~/src/ceph-qa-suite && echo "error: expects to find ~/src/ceph-qa-suite" && exit 1 @@ -61,6 +64,7 @@ kernel: sha1: $KERNEL_SHA1 nuke-on-error: true machine_type: $mtype +os_type: $distro tasks: - chef: - clock.check: @@ -98,7 +102,7 @@ fi ## stamp=`date +%Y-%m-%d_%H:%M:%S` -name=`whoami`"-$stamp-$suite-$ceph-$kernel-$flavor" +name=`whoami`"-$stamp-$suite-$ceph-$kernel-$flavor-$mtype" echo "name $name" -- 2.39.5