yocto-autobuilder2/services.py
Richard Purdie 94fb0cc9bb services: add swatbot
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-17 17:33:57 +00:00

55 lines
1.6 KiB
Python

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/")
)