This repository was archived by the owner on Oct 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
TigerOS CI
Christian Martin edited this page Feb 4, 2018
·
15 revisions
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.
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