Skip to content
Snippets Groups Projects

gitlab_runner: Add VM based executor (libvirt-executor)

Merged Kristian Klausen requested to merge klausenbusk/infrastructure:custom-executor into master
Compare and Show latest version
3 files
+ 1
3
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -53,6 +53,5 @@ image_path="$(printf '%s/runner-base-%(%s)T.qcow2' "${libvirt_default_pool_path}
cp Arch-Linux-x86_64-basic.qcow2 "${image_path}.tmp"
mv "${image_path}"{.tmp,}
cd "${libvirt_default_pool_path}"
# Keep one week of base images
compgen -G "${libvirt_default_pool_path}/runner-base-*.qcow2" | sort -n -t - -k3,3 | head -n -7 | xargs --no-run-if-empty rm -vf
Loading