[ARVADOS-DEV] updated: 4235ef0906ea105eff834e39de5d919f22ddbea5

Git user git at public.arvados.org
Wed Dec 16 19:20:10 UTC 2020


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

       via  4235ef0906ea105eff834e39de5d919f22ddbea5 (commit)
      from  30ff03b92cde79c2ae59097d0105cb9ad75286f4 (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 4235ef0906ea105eff834e39de5d919f22ddbea5
Author: Ward Vandewege <ward at curii.com>
Date:   Wed Dec 16 14:19:50 2020 -0500

    Make it possible to deploy a single node.
    
    refs #16925
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/jenkins/run-deploy-salt.sh b/jenkins/run-deploy-salt.sh
index 37e9f4f..2463d19 100755
--- a/jenkins/run-deploy-salt.sh
+++ b/jenkins/run-deploy-salt.sh
@@ -35,7 +35,7 @@ function usage {
     echo >&2
     echo >&2 "usage: $0 [options] <identifier>"
     echo >&2
-    echo >&2 "   <identifier>                 Arvados cluster name"
+    echo >&2 "   <identifier>                 Arvados cluster name or single node salt identifier"
     echo >&2
     echo >&2 "$0 options:"
     echo >&2 "  -d, --debug                   Enable debug output"
@@ -110,6 +110,11 @@ fi
 
 run_salt "*$IDENTIFIER" '' 'apt update && DEBIAN_FRONTEND=noninteractive apt -y upgrade'
 
+if [[ "$IDENTIFIER" =~ \. ]]; then
+  title "Single node deploy requested, done"
+  exit 0
+fi
+
 title "Loading ARVADOS_API_HOST and ARVADOS_API_TOKEN"
 if [[ -f "$HOME/.config/arvados/$IDENTIFIER.arvadosapi.com.conf" ]]; then
   . $HOME/.config/arvados/$IDENTIFIER.arvadosapi.com.conf

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list