diff options
author | Vincent Ambo <mail@tazj.in> | 2021-08-12T12·35+0300 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-08-12T13·07+0000 |
commit | 79c9506eea638cd04ef2b0a87596cc388d13f41a (patch) | |
tree | d96619b166cc8ab5aeb7c78a32211200cf767afe /ops | |
parent | a4243c900aa7d7dd6ab0e90e0e7418dfe49fe5a2 (diff) |
fix(monorepo-gerrit): Pin JVM version used for Gerrit r/2719
Change-Id: Ib22cdc415cbd5a8345b9589b2c34b3908996dd57 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3322 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'ops')
-rw-r--r-- | ops/modules/monorepo-gerrit.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ops/modules/monorepo-gerrit.nix b/ops/modules/monorepo-gerrit.nix index eaea386ecd11..b704ab153cb7 100644 --- a/ops/modules/monorepo-gerrit.nix +++ b/ops/modules/monorepo-gerrit.nix @@ -27,6 +27,13 @@ in { jvmHeapLimit = "4g"; + # In some NixOS channel bump, the default version of OpenJDK has + # changed to one that is incompatible with our current version of + # Gerrit. + # + # TODO(tazjin): Update Gerrit and remove this when possible. + jvmPackage = pkgs.openjdk11_headless; + settings = { core.packedGitLimit = "100m"; log.jsonLogging = true; |