Skip to content

reacts to new rippled commits by building rpm packages for distribution

Notifications You must be signed in to change notification settings

ripple/rippled-package-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This repository is now deprecated. The files here were used for building RPM packages of rippled versions 1.2 an earlier. For rippled 1.3+ release, the packaging files (including docker definitions, cmake targets, etc.) are included in the rippled repository itself.

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

Contributors 3

  •  
  •  
  •