[ARVADOS] updated: 5cffe62aa709974e192e667262763787a0f1c9a6
Git user
git at public.curoverse.com
Tue Jul 12 15:39:38 EDT 2016
Summary of changes:
sdk/cwl/test_with_arvbox.sh | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
via 5cffe62aa709974e192e667262763787a0f1c9a6 (commit)
from ee450dfbc99974ff266a785ee0a7e284af4ca405 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 5cffe62aa709974e192e667262763787a0f1c9a6
Author: Nico Cesar <nico at curoverse.com>
Date: Tue Jul 12 15:39:14 2016 -0400
added tag support to test_with_arvbox.sh
refs #9459
diff --git a/sdk/cwl/test_with_arvbox.sh b/sdk/cwl/test_with_arvbox.sh
index 5501e29..e2f6286 100755
--- a/sdk/cwl/test_with_arvbox.sh
+++ b/sdk/cwl/test_with_arvbox.sh
@@ -8,6 +8,7 @@ reset_container=1
leave_running=0
config=dev
docker_pull=1
+tag=""
while test -n "$1" ; do
arg="$1"
@@ -28,8 +29,12 @@ while test -n "$1" ; do
docker_pull=0
shift
;;
+ --tag)
+ tag=$2
+ shift ; shift
+ ;;
-h|--help)
- echo "$0 [--no-reset-container] [--leave-running] [--no-docker-pull] [--config dev|localdemo]"
+ echo "$0 [--no-reset-container] [--leave-running] [--no-docker-pull] [--config dev|localdemo] [--tag docker_tag]"
exit
;;
*)
@@ -46,7 +51,7 @@ if test $reset_container = 1 ; then
arvbox reset -f
fi
-arvbox start $config
+arvbox start $config $tag
arvbox pipe <<EOF
set -eu -o pipefail
@@ -69,7 +74,7 @@ export ARVADOS_API_HOST_INSECURE=1
export ARVADOS_API_TOKEN=\$(cat /var/lib/arvados/superuser_token)
if test $docker_pull = 1 ; then
- arv-keepdocker --pull arvados/jobs
+ arv-keepdocker --pull arvados/jobs $tag
fi
cat >/tmp/cwltest/arv-cwl-jobs <<EOF2
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list