A toy Gitlab CI Runner backed by Firecracker MicroVM | 基于Firecracker MicroVM的玩具Gitlab CI Runner
English | 中文
Tart is an educational purpose, unofficial Gitlab Runner, implementing a subset of functionality of Gitlab Runner as experiments and demonstration.
For Example, Tart can run its own CI job, in which its unit tests are executed and its binary got compiled.
Features:
/dev/kvm
. Every job runs in a "microVM" that boots under 2 seconds. Tart might be the first example to combine Gitlab runner and FirecrackerIt's a toy runner and functionality like artifact uploading and services are not supported. In other words, don't use it in production.
Tart runs in a Linux environment with access to /dev/kvm
:
sudo setfacl -m u:${USER}:rw /dev/kvm
$PATH
~/tart
rootfs/setup-tuntap.sh
cd ~/tart
tart register --endpoint https://gitlab.example.com --token your_token_here > tart.toml
tart run
make
The binary can be found under bin
directory.
To compile Linux kernel and build rootFS, refer to rootFS
directory.
I like egg tarts.
MIT
Licenses of work of third parties lies at THIRD_PARTY_LICENSES.md
.
The tart photo in the logo is from Ashley Byrd on Unsplash. Gopher is generated at [gopherize.me].