X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c020dd4470a5f8cbcfe15e764553622828f69ab5..d71a3ed8a91b7491df1f675389e1038d1a781e8e:/sdk/cwl/test_with_arvbox.sh diff --git a/sdk/cwl/test_with_arvbox.sh b/sdk/cwl/test_with_arvbox.sh index bc0289e204..ee8daa1e15 100755 --- a/sdk/cwl/test_with_arvbox.sh +++ b/sdk/cwl/test_with_arvbox.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -x + if ! which arvbox >/dev/null ; then export PATH=$PATH:$(readlink -f $(dirname $0)/../../tools/arvbox/bin) fi @@ -7,6 +9,7 @@ fi reset_container=1 leave_running=0 config=dev +tag="" while test -n "$1" ; do arg="$1" @@ -23,7 +26,15 @@ while test -n "$1" ; do config=$2 shift ; shift ;; - -*) + --tag) + tag=$2 + shift ; shift + ;; + -h|--help) + echo "$0 [--no-reset-container] [--leave-running] [--config dev|localdemo] [--tag docker_tag]" + exit + ;; + *) break ;; esac @@ -37,16 +48,18 @@ if test $reset_container = 1 ; then arvbox reset -f fi -arvbox start $config +arvbox start $config $tag arvbox pipe </tmp/cwltest/arv-cwl-jobs </tmp/cwltest/arv-cwl-containers <