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 Dec 9, 2017 · 15 revisions

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).

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)

rm -rf out/ && docker build . --rm --tag tigerosbuild && docker run -v "$(pwd)"/out:/app:z --privileged=true --network=bridge --rm --add-cap=CAP_SYS_ADMIN tigerosbuild

Clone this wiki locally