mirror of https://github.com/samply/bridgehead.git
Disable debug output.
This commit is contained in:
parent
2168e6299d
commit
2c50d357a9
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue