diff options
Diffstat (limited to 'baserock_webserver/gitlab-bot/config.js')
-rw-r--r-- | baserock_webserver/gitlab-bot/config.js | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/baserock_webserver/gitlab-bot/config.js b/baserock_webserver/gitlab-bot/config.js new file mode 100644 index 00000000..13b66e13 --- /dev/null +++ b/baserock_webserver/gitlab-bot/config.js @@ -0,0 +1,66 @@ +module.exports = { + // IRC server to connect to. + servers: { + gimp: 'irc.gimp.org', + freenode: 'irc.freenode.net' + }, + + // List of channels / people to report to. + triggers: [ + { + project: 'baserock/definitions', + network: 'freenode', + reports: { + '#baserock': ['merge_request', 'issue'] + } + }, + { + project: 'baserock/infrastructure', + network: 'freenode', + reports: { + '#baserock': ['merge_request', 'issue'] + } + }, + { + project: 'baserock/lorries', + network: 'freenode', + reports: { + '#baserock': ['merge_request', 'issue'] + } + }, + { + project: 'baserock/ybd', + network: 'freenode', + reports: { + '#baserock': ['merge_request', 'issue'] + } + }, + { + project: 'BuildStream/buildstream', + network: 'gimp', + reports: { + '#buildstream': ['push', 'merge_request', 'issue'] + } + }, + ], + + // IRC nick/names for the bot + nick: 'gitlab-br-bot', + userName: 'gitlab-br-bot', + realName: 'Gitlab Bot provided by Baserock', + + // Secret as entered in the Gitlab Webhook instance. + secret: '{{ gitlab_buildstream_secret }}', + + // Port on which to run. + port: 1337, + + // Network interface on which to run the webhook server. + hostname: '0.0.0.0', + + // Instance of lstu to shorten links -- keep empty to not use. + //lstu: 'https://lstu.fr', + + // Whether the irc client debug messages should be printed. + debug: true +} |