Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Christian Rebischke
arch-boxes
Commits
c6d4ffc2
Unverified
Commit
c6d4ffc2
authored
Oct 13, 2019
by
Christian Rebischke
Committed by
GitHub
Oct 13, 2019
Browse files
Merge pull request #61 from coderobe/patch-2
generic-ci: drop wget in favor of curl
parents
3346a2f1
1eeb5dad
Changes
1
Hide whitespace changes
Inline
Side-by-side
generic-ci.sh
View file @
c6d4ffc2
...
...
@@ -10,10 +10,10 @@ case $1 in
PACKER_SHA256_SIG
=
"https://releases.hashicorp.com/packer/
$PACKER_CURRENT_VERSION
/packer_
${
PACKER_CURRENT_VERSION
}
_SHA256SUMS.sig"
HASHICORP_FINGERPRINT
=
91a6e7f85d05c65630bef18951852d87348ffc4c
HASHICORP_KEY
=
"https://keybase.io/hashicorp/pgp_keys.asc?fingerprint=
${
HASHICORP_FINGERPRINT
}
"
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
;;
install-shfmt
)
curl
-L
https://github.com/mvdan/sh/releases/download/v2.6.4/shfmt_v2.6.4_linux_amd64
-o
shfmt
curl
-L
o
shfmt
https://github.com/mvdan/sh/releases/download/v2.6.4/shfmt_v2.6.4_linux_amd64
chmod
+x ./shfmt
;;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment