feat(ops/modules): Add module for running gerrit-queue

This is not yet including the secret configuration for gerrit-queue,
and just expects the secret (gerrit username & password) to be
available in /etc/secrets.

Change-Id: Ia465ef7f3f521c70d606d7fdeba9aa83c7e1b98b
This commit is contained in:
Vincent Ambo 2021-12-09 16:45:06 +03:00
parent a9dd719e7c
commit 4870b1a2ff
2 changed files with 55 additions and 0 deletions

View file

@ -9,6 +9,7 @@ in {
"${depot.path}/ops/modules/atward.nix"
"${depot.path}/ops/modules/automatic-gc.nix"
"${depot.path}/ops/modules/clbot.nix"
"${depot.path}/ops/modules/gerrit-queue.nix"
"${depot.path}/ops/modules/git-serving.nix"
"${depot.path}/ops/modules/irccat.nix"
"${depot.path}/ops/modules/monorepo-gerrit.nix"
@ -337,6 +338,9 @@ in {
"/var/lib/znc"
];
};
# Run autosubmit bot for Gerrit
gerrit-queue.enable = true;
};
services.postgresql = {