Loading bootstrap-generic.sh +3 −2 Original line number Diff line number Diff line Loading @@ -2,11 +2,12 @@ if [[ $# -lt 1 ]] then echo "Usage $0 <repo-url> [branch name]" echo "Usage $0 <repo-url> [branch name] [environment]" exit 1 fi REPO=$1 BRANCH="$2" ENVIRONMENT="$3" if [[ "$BRANCH" != "" ]] then BRANCH="--branch $BRANCH" Loading @@ -30,4 +31,4 @@ salt-call state.apply docker-compose # init repo bash /mnt/repo-base/scripts/init-repo.sh bash /mnt/repo-base/scripts/init-repo.sh $ENVIRONMENT Loading
bootstrap-generic.sh +3 −2 Original line number Diff line number Diff line Loading @@ -2,11 +2,12 @@ if [[ $# -lt 1 ]] then echo "Usage $0 <repo-url> [branch name]" echo "Usage $0 <repo-url> [branch name] [environment]" exit 1 fi REPO=$1 BRANCH="$2" ENVIRONMENT="$3" if [[ "$BRANCH" != "" ]] then BRANCH="--branch $BRANCH" Loading @@ -30,4 +31,4 @@ salt-call state.apply docker-compose # init repo bash /mnt/repo-base/scripts/init-repo.sh bash /mnt/repo-base/scripts/init-repo.sh $ENVIRONMENT