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