RPM Deployment

This deployment creates a .rpm package that can be installed on Red Hat family of distribution (e.g. Fedora, RHEL, Oracle Linux).The package installs Veraison into /opt/veraison and sets up systemd units for the services.

Dependencies

In addition to dependencies for the native deployment, rpm-build must be installed. To install all dependencies to build an rpm, run

git clone https://github.com/veraison/services.git
cd services/deployments/rpm

make bootstrap

Building the package

The location where the package will be built is specified with PACKAGE_DEST environment variable. It will default to /tmp if not set. To build the package simply do

make rpm

This will create the following RPM package ${PACKAGE_DEST}/veraison_VERSION_ARCH/rpmbuild/RPMS/ARCH/veraison-VERSION.FLA.ARCH.rpm where VERSION is the Veraison version as reported by the get-veraison-version script, ARCH is the architecture of your system as reported by arch, and FLA is the distro flavor such as el8 and el9.