Ryan Lane has submitted this change and it was merged.

Change subject: Set up weekly jgit gc operations for all repositories
......................................................................


Set up weekly jgit gc operations for all repositories

Change-Id: I98d514a8ad80a0fa49119e6ffe39c82b94efeedd
---
M manifests/gerrit.pp
1 file changed, 8 insertions(+), 0 deletions(-)

Approvals:
  Ryan Lane: Verified; Looks good to me, approved



diff --git a/manifests/gerrit.pp b/manifests/gerrit.pp
index 6d9dfa5..9816ea3 100644
--- a/manifests/gerrit.pp
+++ b/manifests/gerrit.pp
@@ -388,6 +388,14 @@
                user => root,
                hour => 1
        }
+
+       cron { jgit_gc:
+               # Keep repo sizes sane, so people can be productive
+               command => "ssh -p 29418 localhost gerrit gc --all > /dev/null 
2>&1",
+               user => gerrit2,
+               hour => 2,
+               weekday => 6
+       }
 }
 
 # Setup the `gerritslave` account on any host that wants to receive

-- 
To view, visit https://gerrit.wikimedia.org/r/57327
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I98d514a8ad80a0fa49119e6ffe39c82b94efeedd
Gerrit-PatchSet: 4
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Demon <[email protected]>
Gerrit-Reviewer: Demon <[email protected]>
Gerrit-Reviewer: Ryan Lane <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to