summaryrefslogtreecommitdiffstats
path: root/shell/helm/helm-install.sh
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2022-12-01 14:52:39 +0000
committerefiacor <fiachra.corcoran@est.tech>2022-12-05 11:04:42 +0000
commit0d19d3bfb1d47d3dcd5fe5a6db3a8445c5a1007c (patch)
tree82e79679154900d9c17f5536fdff25ad671b01a1 /shell/helm/helm-install.sh
parentd2caae62864c6fa0a1c6d7518811464dd6124d69 (diff)
[HELM] Clean up and fix oom helm jobs
Change-Id: I44c198e86f09f06d4ccd6e8b89c111ee49ebee2c Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: OOM-3065
Diffstat (limited to 'shell/helm/helm-install.sh')
-rwxr-xr-xshell/helm/helm-install.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/shell/helm/helm-install.sh b/shell/helm/helm-install.sh
new file mode 100755
index 000000000..9fa247772
--- /dev/null
+++ b/shell/helm/helm-install.sh
@@ -0,0 +1,14 @@
+#!/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}"
+