gitlab_runner: Add VM based executor (libvirt-executor)
For some workloads running in a container is too restrictive, ex:
arch-boxes (loop device, filesystem mount, pacstrap) and archiso
(pacstrap). Currently they both run a TCG accelerated QEMU VM, which is
very slow and painful to work with. We should provide a better option to
our users!
This adds a hardware accelerated VM for this kinds of workloads, which
is way faster and you can do whatever you like (mostly)!
Fix #283
TODO:
-
Enable KSM? -
Get archiso to build -
Use BUILD_FAILURE_EXIT_CODE
andSYSTEM_FAILURE_EXIT_CODE
: https://docs.gitlab.com/runner/executors/custom.html#error-handling -
Fix existing users to use the secure-vm
tag
Edited by Kristian Klausen