10 curl -k -s -H "Authorization: Bearer $MANAGEMENTTOKEN" https://`minikube ip`:444/rails/_health/ping |grep -q OK
11 if [[ $? -eq 0 ]]; then
14 curl -k -s -H "Authorization: Bearer $MANAGEMENTTOKEN" https://`minikube ip`:25107/_health/ping |grep -q OK
15 if [[ $? -eq 0 ]]; then
18 if [[ $apiReady -eq 1 ]] && [[ $keepProxyReady -eq 1 ]]; then
25 echo "Stopping Arvados cluster..."
26 cd $MY_PATH/../charts/arvados
29 echo "Stopping Minikube"
34 echo "Starting Minikube"
37 echo "Starting Arvados cluster..."
38 cd $MY_PATH/../charts/arvados
39 ./cert-gen.sh `minikube ip`
41 helm install arvados . --set externalIP=`minikube ip`
43 ./minikube-external-ip.sh
45 echo "Waiting for cluster health OK..."
46 while [ $ready -ne 1 ]; do
54 MANAGEMENTTOKEN=`cat $MY_PATH/../charts/arvados/config/config.yml |grep Management |cut -f2 -d ':' |sed -e 's/ //'`
58 if [[ $ready -ne 1 ]]; then
62 echo "cluster health OK"
64 export ARVADOS_API_HOST=`minikube ip`:444
65 export ARVADOS_API_HOST_INSECURE=true
66 export ARVADOS_API_TOKEN=`grep superUserSecret $MY_PATH/../charts/arvados/values.yaml |cut -f2 -d\"`
68 cd $MY_PATH/cwl-diagnostics-hasher/
70 echo "uploading requirements for CWL hasher"
71 arv-put 4xphq-8i9sb-fmwod1qn74cemdp.log.txt --no-resume
72 echo "uploading Arvados jobs image for CWL hasher"
73 # just in case, clear the arv-put cache first, arv-keepdocker doesn't pass through --no-resume
74 rm -rf ~/.cache/arvados/arv-put
75 echo "running CWL hasher"
76 cwl-runner hasher-workflow.cwl hasher-workflow-job.yml
77 if [[ $? -eq 0 ]]; then