about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuke Granger-Brown <hg@lukegb.com>2020-07-25T20·18+0100
committerlukegb <lukegb@tvl.fyi>2020-07-25T20·27+0000
commitb8fa8ff4a40bbc8b6a94b39e5ea51edd7c7835ea (patch)
tree20228816c9ddf815a7e39a50bafbedd1652dcb83
parente010efb0402362b04527e8a5c48351af512c7e73 (diff)
chore(monorepo-gerrit): enable attention set, disable assignee, disable polygerrit CDN r/1475
Change-Id: I66c09afc0813e032a1b5a04cbdbe4b95db2e97d7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1438
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
-rw-r--r--ops/nixos/monorepo-gerrit.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/ops/nixos/monorepo-gerrit.nix b/ops/nixos/monorepo-gerrit.nix
index d25e51767ef4..efea26324425 100644
--- a/ops/nixos/monorepo-gerrit.nix
+++ b/ops/nixos/monorepo-gerrit.nix
@@ -32,16 +32,15 @@ in {
       sshd.advertisedAddress = "code.tvl.fyi:29418";
       hooks.path = "${gerritHooks}";
       cache.web_sessions.maxAge = "3 months";
+      plugins.allowRemoteAdmin = false;
+      change.enableAttentionSet = true;
+      change.enableAssignee = false;
 
       # Configures gerrit for being reverse-proxied by nginx as per
       # https://gerrit-review.googlesource.com/Documentation/config-reverseproxy.html
       gerrit = {
         canonicalWebUrl = "https://cl.tvl.fyi";
         docUrl = "/Documentation";
-
-        # This needs to be kept in lockstep with the Polygerrit UI
-        # version we use.
-        cdnPath = "https://cdn.googlesource.com/polygerrit_ui/768.0";
       };
 
       httpd.listenUrl = "proxy-https://${cfg.listenAddress}";