mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* chore: Validate checksums of downloaded files in build chain Signed-off-by: jannfis <[email protected]> * Fix arm install of kustomize Signed-off-by: jannfis <[email protected]> * Add sudo package to Go builder image Signed-off-by: jannfis <[email protected]>
13 lines
487 B
Bash
Executable File
13 lines
487 B
Bash
Executable File
#!/bin/bash
|
|
set -eux -o pipefail
|
|
|
|
. $(dirname $0)/../tool-versions.sh
|
|
|
|
export TARGET_FILE=helm-v${helm3_version}-linux-${ARCHITECTURE}.tar.gz
|
|
|
|
[ -e $DOWNLOADS/${TARGET_FILE} ] || curl -sLf --retry 3 -o $DOWNLOADS/${TARGET_FILE} https://get.helm.sh/helm-v${helm3_version}-linux-$ARCHITECTURE.tar.gz
|
|
$(dirname $0)/compare-chksum.sh
|
|
mkdir -p /tmp/helm && tar -C /tmp/helm -xf $DOWNLOADS/${TARGET_FILE}
|
|
sudo install -m 0755 /tmp/helm/linux-$ARCHITECTURE/helm $BIN/helm
|
|
helm version --client
|