Merge "Repack git repositories daily"
This commit is contained in:
commit
ca8e3f68e4
@ -104,7 +104,6 @@ class openstack_project::git_backend (
|
|||||||
|
|
||||||
cron { 'mirror_repack':
|
cron { 'mirror_repack':
|
||||||
user => 'cgit',
|
user => 'cgit',
|
||||||
weekday => '0',
|
|
||||||
hour => '4',
|
hour => '4',
|
||||||
minute => '7',
|
minute => '7',
|
||||||
command => 'find /var/lib/git/ -not -path /var/lib/git/zuul -type d -name "*.git" -print -exec git --git-dir="{}" repack -afd \; -exec git --git-dir="{}" pack-refs --all \;',
|
command => 'find /var/lib/git/ -not -path /var/lib/git/zuul -type d -name "*.git" -print -exec git --git-dir="{}" repack -afd \; -exec git --git-dir="{}" pack-refs --all \;',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user