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

13 lines
287 B
SYSTEMD

[Unit]
Description=Run libvirt-executor-fetch-image.service daily
[Timer]
# One hour after the "Nightly build" pipeline
# https://gitlab.archlinux.org/archlinux/arch-boxes/-/pipeline_schedules
OnCalendar=06:00 UTC
Persistent=true
RandomizedDelaySec=1h
[Install]
WantedBy=timers.target