aboutsummaryrefslogtreecommitdiffstats
path: root/services.py
blob: 44a638c2ab89f67070e561b44286250274638a5a (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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")
# )

#from yoctoabb.reporters import wikilog
#services.append(
#    wikilog.WikiLog("https://wiki.yoctoproject.org/wiki/api.php",
#                    "Joshua_Lock", "oJs]Krv4yo]k8zWf", "Joshua_Lock/BuildLog",
#                    "old cluster")
#)

#from yoctoabb.reporters import wikilog
#services.append(
#    wikilog.WikiLog("https://wiki.yoctoproject.org/wiki/api.php",
#                    "Rpurdie", "Somepass77", "Rpurdie/TestBuildLog",
#                    "RP Test Cluster")
#)


from yoctoabb.reporters import swatbot
services.append(
    swatbot.SwatBot("http://localhost:8000/")
)