-
Notifications
You must be signed in to change notification settings - Fork 11
TigerOS CI
Some legacy documentation can be found at:
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).
There is an Ansible playbook that can be found in the build-scripts/ folder which can be used for provisioning the build box.
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
[ ! -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
© CC-BY-SA 4.0 – 2018, RIT Linux Users Group