summaryrefslogtreecommitdiff
path: root/baserock_bots/config.js
diff options
context:
space:
mode:
authorPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-05-15 22:14:43 +0100
committerPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-05-15 22:16:16 +0100
commit9ea4b18fff0ad4d50a690c6f18145bf360080891 (patch)
treecdb09198c92c22b1958b5b3dd540d51a6f411a3c /baserock_bots/config.js
parent65ba468bf9277393a861ef61f5f6ba77523edfd5 (diff)
downloadinfrastructure-9ea4b18fff0ad4d50a690c6f18145bf360080891.tar.gz
Add Ansible scripts for Gitlab IRC bot
Diffstat (limited to 'baserock_bots/config.js')
-rw-r--r--baserock_bots/config.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/baserock_bots/config.js b/baserock_bots/config.js
new file mode 100644
index 00000000..5c8ea793
--- /dev/null
+++ b/baserock_bots/config.js
@@ -0,0 +1,30 @@
+module.exports = {
+ // IRC server to connect to.
+ server: 'irc.gimp.org',
+
+ // List of channels / people to report to.
+ reports: {
+ '#buildstream': ['push', 'merge_request', 'issue']
+ // 'somebody': ['push', 'merge_request', 'issue', 'build']
+ },
+
+ // IRC nick/names for the bot
+ nick: 'gitlab-bst',
+ userName: 'gitlab-bst',
+ realName: 'Gitlab Bot for BuildStream',
+
+ // 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
+}