Skip to content

Commit

Permalink
Report file checksums
Browse files Browse the repository at this point in the history
Reports the deliverables checksums so that they can be used to validate
when pulling them into an image
  • Loading branch information
JoshuaWatt committed Feb 22, 2019
1 parent aabbf32 commit 0e4f7da
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.bak
*~
build/
checksums/
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ deploy:
secure: laa6a0xRcXyK1P4VmQK7BmuV3eNuFoiCEW7e58CBtWQp+Wz8VWeBPAyUKVe6RZEu7Y5ouo6NhBAvOBRtY+bOrLAZXTStJ/B7QKYnIFd+GkUdf7JEGY+CExhWgaIS/qIWJ2wVAZ8EPOXbpx766YyloJQTf53Ct3aSfq0naximkNYDXCwYL3UdzMC2MOWjGo2s/aunQeGigwUFgfmEuCaBa6+2DitDzkVp7zvvzz2phYqHsGyM5FZAkoZ3/+8Zmk/3hMCsbX4eZ3gtxYmAsy2bZtdCvhinaATDr9tWw4BO8PZ+anqqQE4bJZsupfkaJ/EVE4G/vUVevn5dfEuayFcAzRVJuLHaYFGXINZ+fcT6cOaeX4+qNoz8Af4jSf5Nzt0eHfDOLVQqgaI3+VxFFf4TD3gb6IO0a3WJpfpJIAhnHjGlzG5kwyKg9dVDLHeMLuT6sJqHXCGGTUPRNgc6jECEFwKtZogzHPExl/Xk/ZrXfwHahpCzarSXVGkPL54PJaegjuBktDTOGoN13d/dv+3XvmuGkJ4rPcIzdWE0JruxxKS09WYs/J6rNviSgFf/dEDoHlq1273YS85H4GnhFCQ4CBC33qydrtB9EoMLvRZ4e94zt0locnlY2jika35kS1rt/BPT6dm3cIjHD+1M8kLKxG0APDYTaNZ66W+A0RAOw24=
file:
- build/setpriv
- checksums/setpriv.sha256
- build/tini
- checksums/tini.sha256
- build/icecream.tar.gz
- checksums/icecream.tar.gz.sha256
skip_cleanup: true
on:
tags: true
Expand Down
10 changes: 10 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,13 @@ docker run -it --rm --init \
garmin/pyrex-util:latest \
/pyrex/scripts/build_$TARGET.sh

rm -rf $THIS_DIR/checksums
mkdir -p $THIS_DIR/checksums

(
cd $THIS_DIR/build
for f in *; do
sha256sum $f | cut -f1 -d' ' > $THIS_DIR/checksums/$f.sha256
done
)

0 comments on commit 0e4f7da

Please sign in to comment.