Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/maven/fixes/8.1' into maven/rele…
Browse files Browse the repository at this point in the history
…ase/8.1
  • Loading branch information
metaventis-build committed Apr 16, 2024
2 parents 1fd45fd + b419966 commit a2ab089
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion archetypes/helm/src/main/resources/archetype-resources/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@ set -o pipefail

if [[ -z $1 ]] ; then
echo ""
echo "deploy.sh <release> <chart> [<version|path>]"
echo "deploy.sh [-s skip checks and deploy directly] <release> <chart> [<version|path>]"
echo ""
exit 0
fi

SKIP=false
while getopts s: opt; do
case $opt in
s) SKIP=true
esac
shift
done

RELEASE=${1?"release required"}
CHART=${2?"chart required"}
VERSION=${3:-"":->=0.0.0-0}
Expand Down Expand Up @@ -84,6 +92,7 @@ fi

popd >/dev/null || exit

if [ "$SKIP" = false ] ; then
echo ""
echo "--------------------------------------------------------------------------------"
echo ""
Expand Down Expand Up @@ -182,6 +191,7 @@ case ${answer:0:1} in
;;
esac

fi
echo ""
echo "--------------------------------------------------------------------------------"
echo ""
Expand Down

0 comments on commit a2ab089

Please sign in to comment.