From fb637ea955b5331c45c1fa33f943d27ca70281b9 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Fri, 17 Dec 2021 12:33:27 +0200 Subject: [PATCH] Add the Helm CLI to the GitHub ARM64 runners setup Signed-off-by: Stefan Prodan --- .github/runners/prereq.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/runners/prereq.sh b/.github/runners/prereq.sh index 08854da0..013ced4a 100755 --- a/.github/runners/prereq.sh +++ b/.github/runners/prereq.sh @@ -21,6 +21,7 @@ set -eu KIND_VERSION=0.11.1 KUBECTL_VERSION=1.21.2 KUSTOMIZE_VERSION=4.1.3 +HELM_VERSION=3.7.2 GITHUB_RUNNER_VERSION=2.285.1 PACKAGES="apt-transport-https ca-certificates software-properties-common build-essential libssl-dev gnupg lsb-release jq" @@ -52,6 +53,12 @@ curl -Lo ./kustomize.tar.gz https://github.com/kubernetes-sigs/kustomize/release && rm kustomize.tar.gz install -o root -g root -m 0755 kustomize /usr/local/bin/kustomize +# install helm +curl -Lo ./helm.tar.gz https://get.helm.sh/helm-v${HELM_VERSION}-linux-arm64.tar.gz \ + && tar -zxvf helm.tar.gz \ + && rm helm.tar.gz +install -o root -g root -m 0755 linux-arm64/helm /usr/local/bin/helm + # download runner curl -o actions-runner-linux-arm64.tar.gz -L https://github.com/actions/runner/releases/download/v${GITHUB_RUNNER_VERSION}/actions-runner-linux-arm64-${GITHUB_RUNNER_VERSION}.tar.gz \ && tar xzf actions-runner-linux-arm64.tar.gz \