diff --git a/bridgehead b/bridgehead index d5d3a20..75d1498 100755 --- a/bridgehead +++ b/bridgehead @@ -166,6 +166,10 @@ case "$ACTION" in ;; postRun | postUpdate) ;; + gitCredentials) + loadVars >&2 + exec ./lib/gitpassword.sh $@ + ;; *) printUsage exit 1 diff --git a/lib/functions.sh b/lib/functions.sh index 9f3a43f..27fe758 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -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" }