feat(ops/modules/monorepo-gerrit): enable webhooks plugin

Fixes: https://git.snix.dev/snix/snix/issues/74
Change-Id: If4ca98cc1886f5e0a26dcc1ebeef4758054d3811
Reviewed-on: https://cl.snix.dev/c/snix/+/30529
Tested-by: besadii
Autosubmit: Florian Klink <flokli@flokli.de>
Reviewed-by: Ryan Lahfa <ryan@lahfa.xyz>
This commit is contained in:
Florian Klink 2025-05-15 21:31:01 +03:00 committed by clbot
parent 6f3699664a
commit 32cafdc570

View file

@ -29,6 +29,7 @@ in
"download-commands" "download-commands"
"hooks" "hooks"
"replication" "replication"
"webhooks"
]; ];
plugins = with gerritPlugins; [ plugins = with gerritPlugins; [
@ -132,6 +133,14 @@ in
disabledBranch = "refs/meta/config"; disabledBranch = "refs/meta/config";
}; };
plugin.webhooks = {
connectionTimeout = 3000;
socketTimeout = 2500;
maxTries = 5;
retryInterval = 5000;
threadPoolSize = 3;
};
# Allow users to add additional email addresses to their accounts. # Allow users to add additional email addresses to their accounts.
oauth.allowRegisterNewEmail = true; oauth.allowRegisterNewEmail = true;