[OpenSRF-GIT] OpenSRF branch master updated. b9a3ff2ca433f0863cae8e0bf6d5dc213450a534
Evergreen Git
git at git.evergreen-ils.org
Wed May 18 14:45:22 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenSRF".
The branch, master has been updated
via b9a3ff2ca433f0863cae8e0bf6d5dc213450a534 (commit)
from 4e7f49aded2368f656c36518ad937f0918d4cc23 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b9a3ff2ca433f0863cae8e0bf6d5dc213450a534
Author: Dan Scott <dan at coffeecode.net>
Date: Wed May 18 14:38:19 2011 -0400
Turn on email and IRC notification about build breaks
Buildbot can notify us when a build breaks via email and IRC.
Now that everything is green on testing.evergreen-ils.org, let's
turn that capability on. As configured, we should only be notified
when a build goes from success to failure, the first time; and
then again, when a build goes from failure to success.
Email notification should go to "interested users" - all of the
email addresses in the collected signed-off-by / author tags in
the commits for a given build.
Signed-off-by: Dan Scott <dan at coffeecode.net>
diff --git a/examples/buildbot.cfg b/examples/buildbot.cfg
index 6f7ed65..d2d74c3 100644
--- a/examples/buildbot.cfg
+++ b/examples/buildbot.cfg
@@ -294,14 +294,28 @@ c['status'].append(html.WebStatus(http_port=8010, authz=authz_cfg))
# Send mail when a build is broken
from buildbot.status.mail import MailNotifier
-mn = MailNotifier(
- fromaddr="buildbot at testing.esilibrary.com",
- sendToInterestedUsers=False,
- mode='problem',
- extraRecipients=["dan at coffeecode.net","open-ils-dev at list.georgialibraries.org"])
+MN = MailNotifier(
+ fromaddr="buildbot at testing.evergreen-ils.org",
+ sendToInterestedUsers=True,
+ mode='problem'
+# , extraRecipients=["dan at coffeecode.net","open-ils-dev at list.georgialibraries.org"]
+)
# Uncomment to actually send mail
-# c['status'].append(mn)
+c['status'].append(MN)
+
+### IRCBOT
+from buildbot.status import words
+IRC = words.IRC("chat.freenode.net", "egbuilder",
+ channels=["#evergreen"],
+ password="XXX",
+ allowForce=False,
+ notify_events={
+ 'exception': 1,
+ 'successToFailure': 1,
+ 'failureToSuccess': 1,
+ })
+c['status'].append(IRC)
####### PROJECT IDENTITY
-----------------------------------------------------------------------
Summary of changes:
examples/buildbot.cfg | 26 ++++++++++++++++++++------
1 files changed, 20 insertions(+), 6 deletions(-)
hooks/post-receive
--
OpenSRF
More information about the opensrf-commits
mailing list