From 61a24458626de4c717cd8999ae57b1c573e3e160 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Fri, 12 Sep 2014 16:33:14 -0400 Subject: [PATCH] Fixes for the deploy stage of the build pipeline: actually upgrade our debian packages and gems. no issue # --- jenkins/run-deploy.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/jenkins/run-deploy.sh b/jenkins/run-deploy.sh index 6509e916a5..b379fff0b3 100755 --- a/jenkins/run-deploy.sh +++ b/jenkins/run-deploy.sh @@ -88,7 +88,7 @@ title "Deploying API server complete" # Install updated debian packages title "Deploying updated arvados debian packages" -ssh -p2222 $IDENTIFIER.arvadosapi.com -C "apt-get update && apt-get install arvados-src python-arvados-fuse python-arvados-python-client" +ssh -p2222 root@$IDENTIFIER.arvadosapi.com -C "apt-get update && apt-get install arvados-src python-arvados-fuse python-arvados-python-client" if [[ "$ECODE" != "0" ]]; then title "!!!!!! DEPLOYING DEBIAN PACKAGES FAILED !!!!!!" @@ -98,6 +98,19 @@ fi title "Deploying updated arvados debian packages complete" +# Install updated arvados gems +title "Deploying updated arvados gems" + +ssh -p2222 root@$IDENTIFIER.arvadosapi.com -C "/usr/local/rvm/bin/rvm default do gem install arvados arvados-cli && /usr/local/rvm/bin/rvm default do gem clean arvados arvados-cli" + +if [[ "$ECODE" != "0" ]]; then + title "!!!!!! DEPLOYING ARVADOS GEMS FAILED !!!!!!" + EXITCODE=$(($EXITCODE + $ECODE)) + exit $EXITCODE +fi + +title "Deploying updated arvados gems complete" + # Deploy Workbench title "Deploying workbench" cd "$WORKSPACE" -- 2.30.2