#!/bin/bash
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
. /usr/local/lib/arvbox/common.sh
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"
/usr/src/arvados/apps/workbench/Gemfile.lock \
/usr/src/sso/Gemfile.lock ; do
gc=$(cat $l \
- | grep -vE "(GEM|PLATFORMS|DEPENDENCIES|$^|remote:|specs:)" \
+ | grep -vE "(GEM|PLATFORMS|DEPENDENCIES|BUNDLED|GIT|$^|remote:|specs:|revision:)" \
| sed 's/^ *//' | sed 's/(.*)//' | sed 's/ *$//' | sort | uniq | wc -l)
gemlockcount=$(($gemlockcount + $gc))
done
- waiting="$waiting (installing ruby gems $gemcount/$gemlockcount)"
+ waiting="$waiting (installing ruby gems $gemcount of about $gemlockcount)"
fi
if ps x | grep -v grep | grep "c++.*/var/lib/passenger" > /dev/null ; then