Disable debug output.

This commit is contained in:
Martin Lablans 2022-05-31 14:03:07 +02:00
parent 2168e6299d
commit 2c50d357a9
1 changed files with 2 additions and 6 deletions

View File

@ -24,9 +24,7 @@ source lib/functions.sh
assertVarsNotEmpty SITE_ID || exit 1 assertVarsNotEmpty SITE_ID || exit 1
date >> /tmp/gitpass PARAMS="$(cat)"
PARAMS="$(tee -a /tmp/gitpass)"
GITHOST=$(echo "$PARAMS" | grep "^host=" | sed 's/host=\(.*\)/\1/g') GITHOST=$(echo "$PARAMS" | grep "^host=" | sed 's/host=\(.*\)/\1/g')
fetchVarsFromVault GIT_PASSWORD fetchVarsFromVault GIT_PASSWORD
@ -36,11 +34,9 @@ if [ -z "${GIT_PASSWORD}" ]; then
exit 1 exit 1
fi fi
tee -a /tmp/gitpass <<EOF cat <<EOF
protocol=https protocol=https
host=$GITHOST host=$GITHOST
username=bk-${SITE_ID} username=bk-${SITE_ID}
password=${GIT_PASSWORD} password=${GIT_PASSWORD}
EOF EOF
echo >> /tmp/gitpass