[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] 01/02: buildbot: use different email aliases per buil
From: |
gnunet |
Subject: |
[taler-deployment] 01/02: buildbot: use different email aliases per builder |
Date: |
Sun, 26 Nov 2023 22:37:24 +0100 |
This is an automated email from the git hooks/post-receive script.
devan-carpenter pushed a commit to branch master
in repository deployment.
commit ae851233a78dec329d6c449781849dbc61c76f6c
Author: Devan Carpenter <devan@taler.net>
AuthorDate: Sun Nov 26 16:35:38 2023 -0500
buildbot: use different email aliases per builder
---
buildbot/master.cfg | 35 +++++++++++++++++++----------------
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index d4d5335..4a7a262 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -127,6 +127,8 @@ WALLETCHANGE_TRIGGERS = []
# via e-mail
EMAIL_ALERTS = []
+# Array of email address for which build status reports shoudl be sent
+BUILDER_EMAIL_ADDRESSES = []
############ Convenience functions #################
@@ -1209,6 +1211,7 @@ for repo in container_repos:
))
EMAIL_ALERTS.append(f"{REPO_NAME}-builder")
+ BUILDER_EMAIL_ADDRESSES.append(f"ci-{REPO_NAME}@taler.net")
@@ -1250,22 +1253,22 @@ SERVICES.append(reporters.IRC(
}
))
-#SERVICES.append(reporters.MailNotifier(
-# fromaddr="testbuild@taler.net",
-# # notify from pass to fail, and viceversa.
-# generators=[BuildStatusGenerator(
-# mode=('change','problem','failing','exception',),
-# builders=EMAIL_ALERTS,
-# message_formatter=reporters.MessageFormatter(
-# template_type='plain',
-# wantSteps=True,
-# wantLogs=True
-# ),
-# add_logs=True,
-# )],
-# sendToInterestedUsers=False,
-# extraRecipients=["buildfailures@taler.net"]
-#))
+SERVICES.append(reporters.MailNotifier(
+ fromaddr="testbuild@taler.net",
+ # notify from pass to fail, and viceversa.
+ generators=[BuildStatusGenerator(
+ mode=('change','problem','failing','exception',),
+ builders=EMAIL_ALERTS,
+ message_formatter=reporters.MessageFormatter(
+ template_type='plain',
+ wantSteps=True,
+ wantLogs=True
+ ),
+ add_logs=True,
+ )],
+ sendToInterestedUsers=False,
+ extraRecipients=BUILDER_EMAIL_ADDRESSES
+))
############# GENERAL PURPOSE SCHEDULERS ##########################
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.