aboutsummaryrefslogtreecommitdiffstats
path: root/services.py
blob: d04fbafc146d54017e8e2d1cb9c692205b97c391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from buildbot.plugins import reporters

from yoctoabb import config


services = []

# TODO: we'll replace this with functionality in yocto-autobuilder-helpers
# to mail the error reports to the list
# services.append(
#     reporters.MailNotifier(fromaddr="yocto-builds@yoctoproject.org",
#                            sendToInterestedUsers=False,
#                            extraRecipients=["yocto-builds@yoctoproject.org"],
#                            mode=('failing',))
# )

# services.append(
#     reporters.IRC(host="irc.freenode.net",
#                   nick="YoctoAutobuilderBot",
#                   password=""
#                   notify_events={
#                     'successToFailure': 1,
#                     'failureToSuccess': 0
#                   },
#                   channels=["yocto"],
#                   noticeOnChannel=True))

# from yoctoabb.reporters import wikilog
# services.append(
#     wikilog.WikiLog("https://wiki.yoctoproject.org/wiki/api.php",
#                     "User", "password", "LogPage",
#                     "Production Cluster")
# )