[ARVADOS-DEV] updated: 61a24458626de4c717cd8999ae57b1c573e3e160

git at public.curoverse.com git at public.curoverse.com
Fri Sep 12 16:33:52 EDT 2014


Summary of changes:
 jenkins/run-deploy.sh | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

       via  61a24458626de4c717cd8999ae57b1c573e3e160 (commit)
      from  f7878b7f8780cb2e17078486b2239661be6aeedc (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 61a24458626de4c717cd8999ae57b1c573e3e160
Author: Ward Vandewege <ward at curoverse.com>
Date:   Fri Sep 12 16:33:14 2014 -0400

    Fixes for the deploy stage of the build pipeline: actually upgrade our
    debian packages and gems.
    
    no issue #

diff --git a/jenkins/run-deploy.sh b/jenkins/run-deploy.sh
index 6509e91..b379fff 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"

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list