Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
tthvo committed Sep 24, 2024
1 parent b6ec342 commit 2f511f9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/helm
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ HELM_LOCATION=${HELM_LOCATION:-"/usr/local/bin/helm"}
UPGRADE_STRATEGY=${UPGRADE_STRATEGY:-reset-values}
UPGRADE_FORCE=${UPGRADE_FORCE:-false}

echo $HELM_LOCATION
echo "ARGUMENT: $1"

if ! command -v "$HELM_LOCATION" > /dev/null 2>&1; then
echo "$HELM_LOCATION command not found in \$PATH"
exit 1
Expand All @@ -21,7 +18,7 @@ fi
if [[ "$1" = "upgrade" ]]; then
# chart-testing default to use reuse-values (no options to overwrite it yet)
# See https://github.com/helm/chart-testing/issues/525
exec "${HELM_LOCATION}" --force=${UPGRADE_FORCE} "${@//--reuse-values/--${UPGRADE_STRATEGY}}"
echo "${HELM_LOCATION}" --force=${UPGRADE_FORCE} "${@//--reuse-values/--${UPGRADE_STRATEGY}}"
else
exec "${HELM_LOCATION}" "$@"
fi

0 comments on commit 2f511f9

Please sign in to comment.