Skip to content

reacts to new rippled commits by building rpm packages for distribution

Notifications You must be signed in to change notification settings

jnr101/rippled-package-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

reacts to new rippled commits by building rpm packages for distribution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 89.0%
  • Dockerfile 11.0%