summaryrefslogtreecommitdiff
path: root/gerritircbot
diff options
context:
space:
mode:
authorDavid Ostrovsky <David.Ostrovsky@gmx.de>2012-07-16 23:26:29 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-07-19 12:04:33 +0200
commit98a83a4b953fdbf533d6ee33daefc436c525450f (patch)
tree6beb764491df3896d8af5bdb6bd957eaf9250b38 /gerritircbot
parent288c5cbe763fafb9a4382ef6fa8f9c037526de8c (diff)
add configuration files for IRC gerrit bot
Change-Id: I2b0c1f0a82afba6ccc2400d21ccc10b50f5be16d
Diffstat (limited to 'gerritircbot')
-rw-r--r--gerritircbot/README17
-rw-r--r--gerritircbot/gerritbot.cfg13
-rw-r--r--gerritircbot/gerritbot.channel.yaml9
3 files changed, 39 insertions, 0 deletions
diff --git a/gerritircbot/README b/gerritircbot/README
new file mode 100644
index 0000000..3c76e41
--- /dev/null
+++ b/gerritircbot/README
@@ -0,0 +1,17 @@
+This directory contains configuration files for irc gerritbot from OpenStack project.
+
+https://github.com/openstack-ci/gerritbot
+
+Installation:
+install the dependencies:
+
+python-daemon
+python-yaml
+python-irclib
+
+Adjust the config files.
+
+Run:
+install gerritbot.init
+or just start it manually
+
diff --git a/gerritircbot/gerritbot.cfg b/gerritircbot/gerritbot.cfg
new file mode 100644
index 0000000..9f884d2
--- /dev/null
+++ b/gerritircbot/gerritbot.cfg
@@ -0,0 +1,13 @@
+[ircbot]
+nick=logerritbot
+pass=
+server=irc.freenode.net
+port=6667
+channel_config=/home/gerrit2/gerritbot/gerritbot.channel.yaml
+
+[gerrit]
+user=gerritbot
+key=/home/gerrit2/.ssh/id_rsa
+host=gerrit.libreoffice.org
+port=29418
+
diff --git a/gerritircbot/gerritbot.channel.yaml b/gerritircbot/gerritbot.channel.yaml
new file mode 100644
index 0000000..efa43e2
--- /dev/null
+++ b/gerritircbot/gerritbot.channel.yaml
@@ -0,0 +1,9 @@
+libreoffice-dev:
+ events:
+ - patchset-created
+ - change-merged
+ projects:
+ - core
+ - dev-tools
+ branches:
+ - master