mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
* chore: Validate checksums of downloaded files in build chain Signed-off-by: jannfis <jann@mistrust.net> * Fix arm install of kustomize Signed-off-by: jannfis <jann@mistrust.net> * Add sudo package to Go builder image Signed-off-by: jannfis <jann@mistrust.net>
11 lines
No EOL
381 B
Bash
Executable file
11 lines
No EOL
381 B
Bash
Executable file
#!/bin/bash
|
|
set -eux -o pipefail
|
|
|
|
. $(dirname $0)/../tool-versions.sh
|
|
|
|
export TARGET_FILE=jq-${jq_version}-linux-amd64
|
|
|
|
[ -e $DOWNLOADS/${TARGET_FILE} ] || curl -sLf --retry 3 -o $DOWNLOADS/${TARGET_FILE} https://github.com/stedolan/jq/releases/download/jq-${jq_version}/jq-linux64
|
|
$(dirname $0)/compare-chksum.sh
|
|
sudo install -m 0755 $DOWNLOADS/${TARGET_FILE} $BIN/jq
|
|
jq --version |