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:
parent
6f3699664a
commit
32cafdc570
1 changed files with 9 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ in
|
|||
"download-commands"
|
||||
"hooks"
|
||||
"replication"
|
||||
"webhooks"
|
||||
];
|
||||
|
||||
plugins = with gerritPlugins; [
|
||||
|
|
@ -132,6 +133,14 @@ in
|
|||
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.
|
||||
oauth.allowRegisterNewEmail = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue