X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vbuild-nightly.sh;h=7af4cac5e09b7718d26a258f833c2d49551ecb4a;hb=13024f0d7123d3aa9a389964d520d3c93ad8004e;hp=7ee1aefc4cf517ccb7a3cda45e338622e56d70a6;hpb=64a38ef5474fbd7c06d417069093d13a0b5fdb2d;p=build.git diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index 7ee1aefc..7af4cac5 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -416,7 +416,9 @@ function usage () { echo " the -f/-d/-p/-m/-s/-t options are uneffective in this case" echo " -c testconfig - defaults to $DEFAULT_TESTCONFIG" echo " -y {pl,pg} - passed to run_log" - echo " -x - a hook to pass arguments to run_log" + echo " -e step - passed to run_log" + echo " -X : passes --lxc to run_log" + echo " -x - a hook to pass other arguments to run_log" echo " -w webpath - defaults to $DEFAULT_WEBPATH" echo " -W testbuildurl - defaults to $DEFAULT_TESTBUILDURL; this is also used to get the hostname where to publish builds" echo " -r webroot - defaults to $DEFAULT_WEBROOT - the fs point where testbuildurl actually sits" @@ -451,7 +453,7 @@ function main () { SIGNYUMREPO="" OPTS_ORIG=$@ - OPTS=$(getopt -o "f:d:p:m:s:t:b:o:c:y:x:w:W:r:M:Yg:u:K:SBTnv7i:h" -l "build-branch:" -- $@) + OPTS=$(getopt -o "f:d:p:m:s:t:b:o:c:y:e:Xx:w:W:r:M:Yg:u:K:SBTnv7i:h" -l "build-branch:" -- $@) if [ $? != 0 ] then usage @@ -468,8 +470,17 @@ function main () { -b) BASE=$2; shift 2 ;; -o) OVERBASE=$2; shift 2 ;; -c) TESTCONFIG="$TESTCONFIG $2"; shift 2 ;; - -y) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS -y $2"; shift 2 ;; + ########## passing stuff to run_log + # -y foo -> run_log -y foo + -y) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS --rspec-style $2"; shift 2 ;; + # -e foo -> run_log -e foo + -e) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS --exclude $2"; shift 2 ;; + # -X -> run_log -X + -X) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS --lxc"; shift;; + # more general form to pass args to run_log + # -x foo -> run_log foo -x) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS $2"; shift 2;; + ########## -w) WEBPATH=$2; shift 2 ;; -W) TESTBUILDURL=$2; shift 2 ;; -r) WEBROOT=$2; shift 2 ;;