Skip to content

Commit

Permalink
install helm in prepare_release
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWeindel committed Jan 21, 2021
1 parent fa97bbd commit 33389bd
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .ci/prepare_release
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@

set -e

# add full-fleshed tar
apk update
apk add --no-cache tar

# add full-fleshed tar and helm
BASE_URL="https://get.helm.sh"
HELM_VERSION=v2.17.0
TAR_FILE="helm-${HELM_VERSION}-linux-amd64.tar.gz"

apk add --update --no-cache curl ca-certificates tar
curl -L ${BASE_URL}/${TAR_FILE} |tar xvz
mv linux-amd64/helm /usr/bin/helm
chmod +x /usr/bin/helm


if [[ -z "${SOURCE_PATH}" ]]; then
export SOURCE_PATH="$(readlink -f "$(dirname ${0})/..")"
Expand Down

0 comments on commit 33389bd

Please sign in to comment.