[arvados] updated: 2.1.0-2622-ge67249f53

git repository hosting git at public.arvados.org
Sun Jun 26 23:35:14 UTC 2022


Summary of changes:
 tools/salt-install/installer.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

       via  e67249f53f7d4b1c46cbd9270f1776d354c8895b (commit)
      from  7a7bcbb281182e3046455723ab88e38a399b54aa (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 e67249f53f7d4b1c46cbd9270f1776d354c8895b
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Sun Jun 26 19:32:52 2022 -0400

    18870: git stuff
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/tools/salt-install/installer.sh b/tools/salt-install/installer.sh
index 604bd7e32..37f1baf20 100755
--- a/tools/salt-install/installer.sh
+++ b/tools/salt-install/installer.sh
@@ -77,8 +77,10 @@ case "$subcmd" in
 	    else
 		if ! ssh $NODE test -d arvados-setup ; then
 		    ssh $NODE git init --bare arvados-setup.git
-		    git remote add $NODE $DEPLOY_USER@$NODE:arvados-setup.git
-		    git push $NODE
+		    if ! git remote add $NODE $DEPLOY_USER@$NODE:arvados-setup.git ; then
+			git remote set-url $NODE $DEPLOY_USER@$NODE:arvados-setup.git
+		    fi
+		    git push $NODE master
 		    ssh $NODE git clone arvados-setup.git arvados-setup
 		fi
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list