efiacor | 0d19d3b | 2022-12-01 14:52:39 +0000 | [diff] [blame] | 1 | #!/bin/bash |
2 | # Ensure we fail the job if any steps fail | ||||
3 | set -e -o pipefail | ||||
4 | |||||
5 | echo "Installing helm ${HELM_VER}" | ||||
6 | mkdir /tmp/helm"${HELM_VER}" | ||||
7 | cd /tmp/helm"${HELM_VER}" | ||||
8 | wget "https://get.helm.sh/helm-v${HELM_VER}-linux-amd64.tar.gz" | ||||
9 | tar xvf helm-v"${HELM_VER}"-linux-amd64.tar.gz | ||||
10 | sudo mv linux-amd64/helm /usr/local/bin/helm"${HELM_VER}" | ||||
11 | which helm"${HELM_VER}" | ||||
12 | cd ~/ | ||||
13 | echo "Completed install of helm ${HELM_VER}" | ||||
14 |