Add maintenance cron scripts

parent 01ba5950
Pipeline #45019 passed with stage
in 6 seconds
# Maintenance cron scripts
Following scripts belong to `/etc/cron.daily/` (or similar, at your
discretion) on a GitLab Runner, where this repository is cloned.
## Script description
- `gitlab-runner-libvirt-qemu-pull-images`
Runs `libvirt-qemu/pull-images.sh` script, which pulls and extracts
QCOW2 images to the GitLab Runner.
- `pull-gitlab-runner-scripts-repo`
Pull this repository to deploy changes to Custom executor.
#!/bin/sh
exec /home/gitlab-runner/gitlab-runner-scripts/libvirt-qemu/pull-images.sh > /dev/null 2>&1
#!/bin/sh
cd /home/gitlab-runner/gitlab-runner-scripts && git pull > /dev/null 2>&1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment