Merge "Add cron to gc on gitea servers"
This commit is contained in:
commit
1330ed82c8
@ -126,3 +126,11 @@
|
||||
key: "{{ gitea_gerrit_public_key }}"
|
||||
read_only: false
|
||||
title: "Gerrit replication key"
|
||||
- name: Set up cron job to pack git refs
|
||||
cron:
|
||||
name: pack-git-refs
|
||||
state: present
|
||||
job: "docker exec -t giteadocker_gitea-web_1 find /data/git/repositories/ -maxdepth 2 -name *.git -type d -execdir git --git-dir={} gc \\;"
|
||||
minute: 37
|
||||
hour: 12
|
||||
weekday: 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user