Skip to content

Commit

Permalink
ci: download and compare hashes for node binary (#101)
Browse files Browse the repository at this point in the history
* ci: download and compare hashes for node binary
  • Loading branch information
drazisil-codecov authored Jun 3, 2021
1 parent 873ec67 commit f3a7020
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,13 @@ jobs:
- run:
name: Download prebuilt static node binary
command: |
apk add wget
wget https://github.com/codecov/node-static-alpine/releases/download/node.v14.16.1_0b668b007c0533fa4be1b24c66941a06f5965fdf/node
apk add wget coreutils
NODE_RELEASE=node.v14.16.1_0b668b007c0533fa4be1b24c66941a06f5965fdf
wget https://github.com/codecov/node-static-alpine/releases/download/$NODE_RELEASE/node
wget https://github.com/codecov/node-static-alpine/releases/download/$NODE_RELEASE/SHA1SUM
wget https://github.com/codecov/node-static-alpine/releases/download/$NODE_RELEASE/SHA256SUM
wget https://github.com/codecov/node-static-alpine/releases/download/$NODE_RELEASE/SHA512SUM
for i in 1 256 512; do "sha${i}sum" -c "SHA${i}SUM"; done
- run:
name: Confirm that alpine node binary is static
command: |
Expand Down

0 comments on commit f3a7020

Please sign in to comment.