reacts to new rippled commits by building rpm packages for distribution
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
rpm-builder Omit archdep from spec requires Oct 3, 2018
test re-add testing scripts Oct 2, 2018
.gitignore [FEATURE] Initial commit Sep 22, 2015
README.md Make commit signature verification optional Aug 11, 2017
circle.yml Remove Centos6 support Mar 3, 2018
run_test.sh add devel RPM package Sep 27, 2018

README.md

Rippled Package Builder

Docker image for building rippled rpms

The rpm-builder docker container builds a rippled rpm from the specified git branch and puts a tar.gz of rpms in a mounted directory.

Writes md5sum, rippled_version, and rpm_file_name variables to build_vars properties file in mounted directory.

To verify git commit signature, a file of whitelisted GPG public keys can be mounted to /opt/rippled-rpm/public-keys.txt

Dependencies

  • docker

Configuration

All configuration is performed via environment variables:

  • GIT_BRANCH: rippled branch to package (default: develop)
  • GIT_COMMIT: rippled commit to package (overrides GIT_BRANCH)
  • GIT_REMOTE: rippled remote repository (default: origin)
  • RPM_RELEASE: rpm release number (default: 1)
  • RPM_PATCH: rpm patch number (default: null)

Build

docker build -t rippled-rpm-builder rpm-builder/

Run

docker run -e GIT_BRANCH=develop -v <path-to-out-dir>:/opt/rippled-rpm/out rippled-rpm-builder

Run with commit signature verification

docker run -e GIT_BRANCH=develop -v <path-to-keys-file>:/opt/rippled-rpm/public-keys.txt -v <path-to-out-dir>:/opt/rippled-rpm/out rippled-rpm-builder

Test

./run_test.sh