Unverified Commit 1eeb5dad authored by Robin Broda's avatar Robin Broda Committed by GitHub
Browse files

generic-ci: drop wget in favor of curl

curl is already used elsewhere in this script - the additional dependency on wget is not necessary
parent 3346a2f1
......@@ -10,10 +10,10 @@ case $1 in
wget "${PACKER_URL}"
wget "${PACKER_SHA256}"
wget "${PACKER_SHA256_SIG}"
wget -O hashicorp.key "${HASHICORP_KEY}"
curl -LO "${PACKER_URL}"
curl -LO "${PACKER_SHA256}"
curl -LO "${PACKER_SHA256_SIG}"
wget -Lo hashicorp.key "${HASHICORP_KEY}"
gpg --with-fingerprint --with-colons hashicorp.key | grep ${HASHICORP_FINGERPRINT^^}
gpg --import hashicorp.key
gpg --verify "packer_${PACKER_CURRENT_VERSION}_SHA256SUMS.sig" "packer_${PACKER_CURRENT_VERSION}_SHA256SUMS"
......@@ -24,7 +24,7 @@ case $1 in
curl -L https://github.com/mvdan/sh/releases/download/v2.6.4/shfmt_v2.6.4_linux_amd64 -o shfmt
curl -Lo shfmt https://github.com/mvdan/sh/releases/download/v2.6.4/shfmt_v2.6.4_linux_amd64
chmod +x ./shfmt
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment