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

@ -63,7 +63,7 @@ in
# FUTUREWORK: disable tcp listener entirely
# Maybe this is https://github.com/spf13/viper/issues/323#issuecomment-309570752 ?
tcp.listen = "127.0.0.1:4723";
http.listen = "127.0.0.1:4722";
http.listen = ":4722";
http.listeners.generic = { };
irc = {
server = "irc.eu.hackint.org:6697";
@ -83,6 +83,9 @@ in
# Prometheus, Loki, Tempo
ip6 saddr { 2a01:4f8:c013:3e62::1 } tcp dport { 9009, 9090, 9190 } accept
ip saddr { 49.13.70.233 } tcp dport { 9009, 9090, 9190 } accept
# Gerrit Webhooks
ip6 saddr { 2a01:4f8:c17:6188::1 } tcp dport 4722 accept
'';
age.secrets =