1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2026-05-04 08:40:39 +02:00
Files
2026-02-15 13:16:22 +01:00

13 lines
579 B
SYSTEMD

# We're only running a subset of all available cleanup tasks mentioned on
# https://docs.gitlab.com/ee/raketasks/cleanup.html
# For instance, we're not using LFS so we'e also not cleaning it up. Also,
# some cleanup tasks have timing implications so take great care when adding
# something here!
[Unit]
Description=GitLab Cleanup
[Service]
Type=oneshot
ExecStart=/usr/bin/docker exec -t gitlab gitlab-rake gitlab:cleanup:project_uploads DRY_RUN=false
ExecStart=/usr/bin/docker exec -t gitlab gitlab-rake gitlab:cleanup:orphan_job_artifact_files DRY_RUN=false DEBUG=1 LIMIT=1000