feat(ops/machines/gerrit01): deploy gerrit-webhook-to-irccat

And allow gerrit01 to send these hooks over to irccat running on meta01.

Issue: https://git.snix.dev/snix/snix/issues/74
Change-Id: Ic5835734b32e8e5a46225e68d4124d55c002d663
Reviewed-on: https://cl.snix.dev/c/snix/+/30527
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Ryan Lahfa <ryan@lahfa.xyz>
This commit is contained in:
Florian Klink 2025-05-15 21:05:17 +03:00 committed by clbot
parent 064765b19a
commit 6f3699664a
2 changed files with 10 additions and 1 deletions

View file

@ -13,6 +13,7 @@ in
(mod "o11y/alloy.nix")
(mod "gerrit-autosubmit.nix")
(mod "monorepo-gerrit.nix")
(mod "gerrit-webhook-to-irccat.nix")
(mod "www/cl.snix.dev.nix")
(mod "known-hosts.nix")
@ -70,6 +71,11 @@ in
services.depot = {
gerrit-autosubmit.enable = true;
restic.enable = true;
gerrit-webhook-to-irccat = {
enable = true;
irccatUrl = "http://meta01.infra.snix.dev:4722/send";
listenAddress = "127.0.0.1:4779";
};
};
services.fail2ban.enable = true;