소스 검색

Daemon install script: also clone via public http url

Christian Kahlau 3 년 전
부모
커밋
c2b67528f9
1개의 변경된 파일1개의 추가작업 그리고 9개의 파일을 삭제
  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"