-
Notifications
You must be signed in to change notification settings - Fork 23
common: pin and verify the components #271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,11 +2,17 @@ | |||||
|
|
||||||
| TOP_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" &> /dev/null && pwd )" | ||||||
|
|
||||||
| HELM_VERSION=v3.20.0 | ||||||
| HELM_SUM_amd64=dbb4c8fc8e19d159d1a63dda8db655f9ffa4aac1b9a6b188b34a40957119b286 | ||||||
| HELM_SUM_arm64=bfb14953295d5324d47ab55f3dfba6da28d46c848978c8fbf412d4271bdc29f1 | ||||||
| HELM_SUM="HELM_SUM_${ARCH}" | ||||||
|
|
||||||
| # ensure helm command | ||||||
| if [[ $(ensure_command helm) -eq 1 ]]; then | ||||||
| echo "no helm, try to curl..." | ||||||
| curl -O https://get.helm.sh/helm-v3.9.4-linux-amd64.tar.gz | ||||||
| tar -zxvf helm-v3.9.4-linux-amd64.tar.gz | ||||||
| curl -O https://get.helm.sh/helm-${HELM_VERSION}-linux-${ARCH}.tar.gz | ||||||
| echo "${!HELM_SUM}" helm-${HELM_VERSION}-linux-${ARCH}.tar.gz | sha256sum -c - | ||||||
| tar xvzf helm-${HELM_VERSION}-linux-${ARCH}.tar.gz | ||||||
| HELM=$TOP_DIR/linux-amd64/helm | ||||||
|
||||||
| HELM=$TOP_DIR/linux-amd64/helm | |
| HELM=$TOP_DIR/linux-${ARCH}/helm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
.dapperrecipe uses@@chmod, which Make interprets as “silent” (@) plus a literal@passed to the shell. That results in trying to execute a command named@chmodand will fail, breakingmake ci/any target that depends on.dapper. Use a single leading@(or none) beforechmod.