1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/gitlab_runner/files/libvirt-executor-fetch-image.service
Kristian Klausen fefa51a52f
gitlab_runner: Switch to new libvirt-executor image[1] from arch-boxes
It makes more sense to build the image in arch-boxes than building it on
each runner, especially considering that arch-boxes already have all the
necessary infrastructure, so we can avoid maintaining similar code in
two repositories and avoid running losetup, mount, arch-chroot etc. (as
root) on the runners.

The arch-boxes MR[1] has a little more context.

[1] https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/200
2024-12-15 15:31:48 +01:00

9 lines
200 B
SYSTEMD

[Unit]
Description=Fetch libvirt-executor image
Wants=network-online.target
After=network-online.target nss-lookup.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/libvirt-executor-fetch-image