Bläddra i källkod

Daemon install script: also clone via public http url

Christian Kahlau 3 år sedan
förälder
incheckning
c2b67528f9
1 ändrade filer med 1 tillägg och 9 borttagningar
  1. 1 9
      daemon/install/install.sh

+ 1 - 9
daemon/install/install.sh

@@ -27,19 +27,11 @@ fi
 # exit on error exit codes
 set -e
 
-# Ensure SSH-Agent is started and id_rsa loaded, 
-# git and npm will do a lot of stuff via ssh and 
-# ask for id passphrase multiple times if there's
-# no agent
-echo "[INSTALL] Starting SSH agent"
-eval $(ssh-agent)
-ssh-add ~/.ssh/id_rsa
-
 TMPFOLDER="/tmp/hbbq/monitoring/$(date +'%Y%m%d%H%M%S')"
 
 echo "[INSTALL] Cloning entire project into temp folder $TMPFOLDER"
 mkdir -p "$TMPFOLDER"
-git clone ssh://git@gogs.hostbbq.com:8301/hostbbq/hostbbq-monitoring.git "$TMPFOLDER"
+git clone https://gogs.hostbbq.com/hostbbq/hostbbq-monitoring.git "$TMPFOLDER"
 
 cd "$TMPFOLDER/daemon"