aboutsummaryrefslogtreecommitdiff
path: root/modules/services/gerrit/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-09 11:03:47 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-09 11:05:00 -0700
commitacae8439ee41e99b5c61111d2e75c15bb3c06ba1 (patch)
tree66919efc08d1adce76431241afaf00813a05293d /modules/services/gerrit/default.nix
parentref(nix): move the mkSystem function to its own file (diff)
downloadinfra-acae8439ee41e99b5c61111d2e75c15bb3c06ba1.tar.gz
feat(gerrit): add plugin 'reviewnotes'
This plugin stores review information for Gerrit changes in the `refs/notes/review' branch. Change-Id: I51c7fe1f8764617e0bff5455d3fe713b0e2f446e Reviewed-on: https://cl.fcuny.net/c/world/+/300 Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to '')
-rw-r--r--modules/services/gerrit/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/services/gerrit/default.nix b/modules/services/gerrit/default.nix
index a56dc7e..1d4be66 100644
--- a/modules/services/gerrit/default.nix
+++ b/modules/services/gerrit/default.nix
@@ -41,7 +41,15 @@ in {
enable = true;
listenAddress = "[::]:4778";
serverId = "36bc0ffe-8f33-4045-bf8b-de5f88815fc0";
- builtinPlugins = [ "download-commands" "hooks" ];
+ builtinPlugins = [
+ # commands to download changes
+ "download-commands"
+ # to run custom hooks
+ "hooks"
+ # stores review information for Gerrit changes in the
+ # refs/notes/review branch.
+ "reviewnotes"
+ ];
jvmHeapLimit = "4g";
plugins = [ oauth ];