mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
40a8b925db
4c43b7d41d11072f382f938379d21cd2e0bcbb47 contrib: use hkps://keys.openpgp.org to retrieve builder keys (fanquake) Pull request description: `hkps://hkps.pool.sks-keyservers.net` is essentially no-longer functional, and a number of distributions and GPG tools have since switched to using the `keys.openpgp.org` key server as their default. See this Debian patch for additional context: https://salsa.debian.org/debian/gnupg2/-/blob/debian/main/debian/patches/Use-hkps-keys.openpgp.org-as-the-default-keyserver.patch Switch to using keys.openpgp.org in the CI as well. ACKs for top commit: MarcoFalke: cr ACK 4c43b7d41d11072f382f938379d21cd2e0bcbb47 Zero-1729: ACK 4c43b7d41d11072f382f938379d21cd2e0bcbb47 Tree-SHA512: e6c72b67778b76f81c659eee0e4195fea9e579587c64921affd35b9d46a077d4e8754b7fb85ca90a9a4bbc5cd5a47b0c6e4c9dbf9a335418a12f774d665e5a19
36 lines
1.3 KiB
Bash
Executable File
36 lines
1.3 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2018-2020 The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
export LC_ALL=C
|
|
|
|
GIT_HEAD=$(git rev-parse HEAD)
|
|
if [ -n "$CIRRUS_PR" ]; then
|
|
COMMIT_RANGE="${CIRRUS_BASE_SHA}..$GIT_HEAD"
|
|
test/lint/commit-script-check.sh "$COMMIT_RANGE"
|
|
fi
|
|
export COMMIT_RANGE
|
|
|
|
# This only checks that the trees are pure subtrees, it is not doing a full
|
|
# check with -r to not have to fetch all the remotes.
|
|
test/lint/git-subtree-check.sh src/crypto/ctaes
|
|
test/lint/git-subtree-check.sh src/secp256k1
|
|
test/lint/git-subtree-check.sh src/minisketch
|
|
test/lint/git-subtree-check.sh src/univalue
|
|
test/lint/git-subtree-check.sh src/leveldb
|
|
test/lint/check-doc.py
|
|
test/lint/lint-all.sh
|
|
|
|
if [ "$CIRRUS_REPO_FULL_NAME" = "dashpay/dash" ] && [ -n "$CIRRUS_CRON" ]; then
|
|
git log --merges --before="2 days ago" -1 --format='%H' > ./contrib/verify-commits/trusted-sha512-root-commit
|
|
${CI_RETRY_EXE} gpg --keyserver hkps://keys.openpgp.org --recv-keys $(<contrib/verify-commits/trusted-keys) &&
|
|
./contrib/verify-commits/verify-commits.py --clean-merge=2;
|
|
fi
|
|
|
|
if [ -n "$COMMIT_RANGE" ]; then
|
|
echo
|
|
git log --no-merges --oneline "$COMMIT_RANGE"
|
|
fi
|