blob: 9fa247772cd100cb8d449db60c7229df19513b08 [file] [log] [blame]
#!/bin/bash
# Ensure we fail the job if any steps fail
set -e -o pipefail
echo "Installing helm ${HELM_VER}"
mkdir /tmp/helm"${HELM_VER}"
cd /tmp/helm"${HELM_VER}"
wget "https://get.helm.sh/helm-v${HELM_VER}-linux-amd64.tar.gz"
tar xvf helm-v"${HELM_VER}"-linux-amd64.tar.gz
sudo mv linux-amd64/helm /usr/local/bin/helm"${HELM_VER}"
which helm"${HELM_VER}"
cd ~/
echo "Completed install of helm ${HELM_VER}"