mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-05-03 21:40:37 +02:00
9b8ef36153
This isn't required anymore according to upstream, see https://docs.gitlab.com/administration/packages/container_registry_metadata_database/#before-you-start Related to #807.
13 lines
579 B
SYSTEMD
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
|