Add gitCredentials to bridgehead script

This commit is contained in:
Martin Lablans 2024-12-20 12:00:29 +01:00
parent 2d590b8763
commit ba31975887
2 changed files with 5 additions and 1 deletions

View File

@ -166,6 +166,10 @@ case "$ACTION" in
;;
postRun | postUpdate)
;;
gitCredentials)
loadVars >&2
exec ./lib/gitpassword.sh $@
;;
*)
printUsage
exit 1

View File

@ -53,7 +53,7 @@ checkOwner(){
}
printUsage() {
echo "Usage: bridgehead start|stop|logs|docker-logs|is-running|update|install|uninstall|adduser|enroll PROJECTNAME"
echo "Usage: bridgehead start|stop|logs|docker-logs|is-running|update|install|uninstall|adduser|enroll|gitCredentials PROJECTNAME"
echo "PROJECTNAME should be one of ccp|bbmri|cce|itcc|kr|dhki"
}