redirect
This commit is contained in:
parent
1e9a233526
commit
dcb31e043c
2 changed files with 1 additions and 2 deletions
2
app.sh
2
app.sh
|
@ -42,7 +42,7 @@ while true ; do
|
||||||
|
|
||||||
echo clone
|
echo clone
|
||||||
pwd
|
pwd
|
||||||
GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -i $GIT_REPO_DEPLOY_KEY" git clone "$GIT_REPO_URL" "$GIT_REPO_PATH" --quiet
|
GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -i $GIT_REPO_DEPLOY_KEY" git clone "$GIT_REPO_URL" "$GIT_REPO_PATH" --quiet 2>&1 > /dev/null
|
||||||
cd "$GIT_REPO_PATH"
|
cd "$GIT_REPO_PATH"
|
||||||
|
|
||||||
# Save the current value of IFS to restore later
|
# Save the current value of IFS to restore later
|
||||||
|
|
|
@ -17,7 +17,6 @@ services:
|
||||||
# Format <FQDN>,<SSH_KEY_PATH to ssh-private-key(passwordless)> #siehe volunmes
|
# Format <FQDN>,<SSH_KEY_PATH to ssh-private-key(passwordless)> #siehe volunmes
|
||||||
DEVICES: |
|
DEVICES: |
|
||||||
rb5009.grote.lan,admin,/neu
|
rb5009.grote.lan,admin,/neu
|
||||||
hex.grote.lan,admin,/ssh/keys/hex
|
|
||||||
GIT_REPO_BRANCH: "master"
|
GIT_REPO_BRANCH: "master"
|
||||||
GIT_REPO_URL: "ssh://gitea@gitea.grote.lan:2222/mg/testrepo.git"
|
GIT_REPO_URL: "ssh://gitea@gitea.grote.lan:2222/mg/testrepo.git"
|
||||||
GIT_REPO_DEPLOY_KEY: "/neu" #siehe volunmes
|
GIT_REPO_DEPLOY_KEY: "/neu" #siehe volunmes
|
||||||
|
|
Loading…
Reference in a new issue