yocto-autobuilder2/services.py
Joshua Lock 4fd189ab38 Initial prototype of using yocto-autobuilder-helper scripts
Initial prototype of using yocto-autobuilder-helper scripts from vanilla
buildbot to replicate yocto-autobuilder configuration.

* README.md is updated to describe goals and approach
* TODO contains known issues and work items, TODO: comments in the code
  point to specific locations of work

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-02-22 10:38:19 +00:00

34 lines
1.1 KiB
Python

from buildbot.plugins import reporters
from yoctoab 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 yoctoab.reporters import wikilog
# services.append(
# wikilog.WikiLog("https://wiki.yoctoproject.org/wiki/api.php",
# "User", "password", "LogPage"
# "production cluster")
# )