mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
Add dpkg/rpm building capability:
* docker container definitions for package building * cmake targets for building packages * initial gitlab CI + artifactory integration
This commit is contained in:
committed by
Nik Bougalis
parent
b2170d016a
commit
e6370a6482
16
Builds/containers/gitlab-ci/verify_head_commit.sh
Normal file
16
Builds/containers/gitlab-ci/verify_head_commit.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env sh
|
||||
set -ex
|
||||
apt -y update
|
||||
apt -y install software-properties-common curl git gnupg
|
||||
curl -sk -o rippled-pubkeys.txt "${GIT_SIGN_PUBKEYS_URL}"
|
||||
gpg --import rippled-pubkeys.txt
|
||||
if git verify-commit HEAD; then
|
||||
echo "git commit signature check passed"
|
||||
else
|
||||
echo "git commit signature check failed"
|
||||
git log -n 5 --color
|
||||
--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an> [%G?]%Creset'
|
||||
--abbrev-commit
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user