Demon has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/57327


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/27/57327/1

diff --git a/manifests/gerrit.pp b/manifests/gerrit.pp
index 6d9dfa5..07b5cb4 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",
+               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: newchange
Gerrit-Change-Id: I98d514a8ad80a0fa49119e6ffe39c82b94efeedd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Demon <[email protected]>

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

Reply via email to