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

TigerOS CI

Christian Martin edited this page Mar 7, 2018 · 15 revisions

Some legacy documentation can be found at:

Building ISOs

Building RPMs


TigerOS currently has CI through a Jenkins CI server that triggers a run of the ci-build-mock.sh and ci-build.sh scripts on pushes to the master branch of this repo.

Soon this will be changed so that there will be a separate web server and build host. Policy for access to these is described on the main TigerOS Development page. The web server will host the files the world will see, and the build box will be a GitLab Runner that will directly build RPMs and ISOs as changes are made. ISOs will be made via make-iso.sh

The scripts are meant to be run from the root folder of the repo (the same folder that make-iso.sh and README.md are in).

Basic setup

There is an Ansible playbook that can be found in the build-scripts/ folder which can be used for provisioning the build box.

Jenkins Config

if [ ! -d tigeros/ ]; then
    git clone -b devel https://github.com/ritlug/tigeros
    chmod +x tigeros/build-scripts/ci-build-mock.sh
fi
cd tigeros/
git pull
sudo build-scripts/ci-build-mock.sh

New Docker config for Jenkins (WIP)

[ ! -e out/ ] || rm -rf out/ ; docker build . --force-rm --tag tigerosbuild && setenforce 0 && docker run -v "$(pwd)"/out:/app:z --privileged=true --network=bridge --rm --cap-add=CAP_SYS_ADMIN tigerosbuild ; setenforce 1

Clone this wiki locally