feat: deprecate sha512sum for b3sum

This commit is contained in:
surtur 2020-06-24 22:27:49 +02:00
parent 7298738f81
commit 5d96f267d3
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -1190,9 +1190,9 @@ steps:
- ls -lah archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd
- curl -sS https://dotya.ml/store/0x28bd2388.asc | gpg --quiet --import -
- gpg -eR 28bd2388 --trust-model always archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd
- ( cd archives; sha512sum results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg > results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg-SHA512SUM )
- ( cd archives; b3sum results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg > results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg-B3SUM )
- ( cd archives; date +%Y-%m-%dT%H-%M > dat_date )
- ( cd archives; tar cfv results-$(cat dat_date)-${DRONE_COMMIT_SHA:0:7}.tar.zstd results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg-SHA512SUM --zstd --remove-files )
- ( cd archives; tar cfv results-$(cat dat_date)-${DRONE_COMMIT_SHA:0:7}.tar.zstd results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg results-${DRONE_COMMIT_SHA:0:7}.tar.zstd.gpg-B3SUM --zstd --remove-files )
- rm archives/results-${DRONE_COMMIT_SHA:0:7}.tar.zstd
- cp -vR archives /run/cache
- rm -r /run/cache/results-${DRONE_COMMIT_SHA}