From 84dd5e80955f6fd3c5a26c0eb752c765e5011c5c Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Mon, 7 Jul 2014 15:11:37 -0400 Subject: [PATCH] Make sure to bring the arvados debian packages up to the latest version when deploying via jenkins. no issue # --- jenkins/run-deploy.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/jenkins/run-deploy.sh b/jenkins/run-deploy.sh index c23aefc..6509e91 100755 --- a/jenkins/run-deploy.sh +++ b/jenkins/run-deploy.sh @@ -85,6 +85,19 @@ fi 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" + +if [[ "$ECODE" != "0" ]]; then + title "!!!!!! DEPLOYING DEBIAN PACKAGES FAILED !!!!!!" + EXITCODE=$(($EXITCODE + $ECODE)) + exit $EXITCODE +fi + +title "Deploying updated arvados debian packages complete" + # Deploy Workbench title "Deploying workbench" cd "$WORKSPACE" -- 2.39.5