[ARVADOS] updated: 7c7a8660bd619a0d873835c778ae4c6f909a99f6

Git user git at public.curoverse.com
Fri Mar 4 10:17:47 EST 2016


Summary of changes:
 tools/arvbox/lib/arvbox/docker/service/ready/run-service | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

       via  7c7a8660bd619a0d873835c778ae4c6f909a99f6 (commit)
      from  e83e6c3df34d07cf23a3f9d1d8a3553a0e1a0ea4 (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 7c7a8660bd619a0d873835c778ae4c6f909a99f6
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Fri Mar 4 10:17:44 2016 -0500

    arvbox "ready" script correctly waits for all sdk packages to be ready. no issue #

diff --git a/tools/arvbox/lib/arvbox/docker/service/ready/run-service b/tools/arvbox/lib/arvbox/docker/service/ready/run-service
index f560de0..977f612 100755
--- a/tools/arvbox/lib/arvbox/docker/service/ready/run-service
+++ b/tools/arvbox/lib/arvbox/docker/service/ready/run-service
@@ -34,11 +34,12 @@ if ! docker version >/dev/null 2>/dev/null ; then
   waiting="$waiting docker"
 fi
 
-if ! which arv >/dev/null ; then
-  waiting="$waiting sdk"
-elif ! which arv-get >/dev/null ; then
-  waiting="$waiting sdk"
-fi
+for sdk_app in arv arv-get cwl-runner arv-mount ; do
+    if ! which $sdk_app >/dev/null ; then
+        waiting="$waiting sdk"
+        break
+    fi
+done
 
 if ! (ps x | grep -v grep | grep "crunch-dispatch") > /dev/null ; then
     waiting="$waiting crunch-dispatch"

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list