changeset 60:5f56caac4ff1

Add a quick series on buildbot
author Louis Opter <louis@lse.epitech.net>
date Thu, 16 Feb 2012 02:14:18 +0100
parents 0b869f03ac04
children ebe4df228703
files maintainers_activate_buildbot_irc_bot.patch maintainers_fix_buildbot_url.patch series
diffstat 3 files changed, 48 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/maintainers_activate_buildbot_irc_bot.patch	Thu Feb 16 02:14:18 2012 +0100
@@ -0,0 +1,27 @@
+# HG changeset patch
+# Parent 0e61dc98b184993daf58d52de2ada2474dd111e7
+maintainers: enable the buildbot irc bot
+
+diff --git a/maintainers/buildbot/master/master-dotcloud.cfg b/maintainers/buildbot/master/master-dotcloud.cfg
+--- a/maintainers/buildbot/master/master-dotcloud.cfg
++++ b/maintainers/buildbot/master/master-dotcloud.cfg
+@@ -133,6 +133,19 @@
+     )
+ )
+ 
++from buildbot.status import words
++
++c['status'].append(
++    words.IRC('chat.freenode.net', 'ratata',
++        channels=[{'channel': '#rathaxes'}],
++        notify_events={
++            'exception': 1,
++            'successToFailure': 1,
++            'failureToSuccess': 1
++        }
++    )
++)
++
+ ####### PROJECT IDENTITY
+ 
+ # the 'title' string will appear at the top of this buildbot
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/maintainers_fix_buildbot_url.patch	Thu Feb 16 02:14:18 2012 +0100
@@ -0,0 +1,19 @@
+# HG changeset patch
+# Parent 85e72d294d768d4f6cd37ba27b79dd7ee1bce1a9
+maintainers: fix the buildbot url in the buildbot configuration
+
+diff --git a/maintainers/buildbot/master/master-dotcloud.cfg b/maintainers/buildbot/master/master-dotcloud.cfg
+--- a/maintainers/buildbot/master/master-dotcloud.cfg
++++ b/maintainers/buildbot/master/master-dotcloud.cfg
+@@ -161,10 +161,7 @@
+ # with an externally-visible host name which the buildbot cannot figure out
+ # without some help.
+ 
+-c['buildbotURL'] = "http://{domain}:{port}/".format(
+-    domain=os.environ['DOTCLOUD_MASTER_HTTP_HOST'],
+-    port=os.environ['PORT_WWW']
+-)
++c['buildbotURL'] = "http://builds.rathaxes.org/"
+ 
+ ####### DB URL
+ 
--- a/series	Fri Feb 10 00:05:45 2012 +0100
+++ b/series	Thu Feb 16 02:14:18 2012 +0100
@@ -0,0 +1,2 @@
+maintainers_activate_buildbot_irc_bot.patch
+maintainers_fix_buildbot_url.patch