Skip to content
This repository was archived by the owner on Oct 1, 2022. It is now read-only.

TigerOS CI

Aidan Kahrs edited this page Apr 6, 2018 · 15 revisions

Some legacy documentation can be found at:

Building ISOs

Building RPMs


TigerOS CI

We are currently working to automate the building of RPMs on our build server when a push is made to the master branch of a repository housing the source for one of our RPMs.

When that push occurs, the following sequence of commands is triggered on the build server:

sudo rm -rf /home/$USER/to-sign/
mkdir -p /home/$USER/to-sign/
copr-rpmbuild scm --clone-url https://github.com/RITlug/$name-of-tigeros-package --chroot fedora-27-x86_64 
sudo cp /var/lib/copr-rpmbuild/results/*.rpm /home/$USER/to-sign
rm -rf /var/lib/copr-rpmbuild/results

A notification is then sent to IRC and Slack that the build has completed and the responsible team member connects to the build server via SSH and runs the command below.

sudo rpmsign --addsign /path/to/to-sign/directory/*rpm

They then rsync the new packages to the mirror and after verifying permissions run:

sudo createrepo --update /path/to/RPMs or SRPMs

on the mirror

Clone this wiki locally