services: Update email notification config

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2023-09-28 10:42:00 +01:00
parent d0fe260e18
commit 16e53dc288

View File

@ -3,20 +3,27 @@
# #
from buildbot.plugins import reporters from buildbot.plugins import reporters
from yoctoabb import config from yoctoabb import config
import os
services = [] services = []
# TODO: we'll replace this with functionality in yocto-autobuilder-helpers with open(os.path.join(os.path.dirname(__file__), "default_mail.txt"), "r") as f:
# to mail the error reports to the list emailtext = "\n".join(f.readlines())
# services.append(
# reporters.MailNotifier(fromaddr="yocto-builds@yoctoproject.org", formatter = reporters.MessageFormatter(template=emailtext)
# sendToInterestedUsers=False,
# extraRecipients=["yocto-builds@yoctoproject.org"], generator = reporters.BuildStatusGenerator(
# mode=('failing',)) mode=('failing', 'warnings', 'exception', 'cancelled'),
# ) message_formatter=formatter,
builders=['a-full', 'a-quick', 'buildperf-alma8', 'buildperf-debian11', 'docs'])
#services.append(
# reporters.MailNotifier(fromaddr="controller@yoctoproject.org",
# extraRecipients=["yocto-builds@lists.yoctoproject.org"],
# generators=[generator])
#)
# services.append( # services.append(
# reporters.IRC(host="irc.freenode.net", # reporters.IRC(host="irc.freenode.net",
@ -39,4 +46,4 @@ services = []
# from yoctoabb.reporters import swatbot # from yoctoabb.reporters import swatbot
# services.append( # services.append(
# swatbot.SwatBot("http://localhost:8000/", "buildbot-notifier", "password") # swatbot.SwatBot("http://localhost:8000/", "buildbot-notifier", "password")
# ) # )