gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: buildbot: create mailnotifier


From: gnunet
Subject: [taler-deployment] branch master updated: buildbot: create mailnotifier factory dynamically
Date: Wed, 10 Jan 2024 18:47:35 +0100

This is an automated email from the git hooks/post-receive script.

devan-carpenter pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new e7fcba8  buildbot: create mailnotifier factory dynamically
e7fcba8 is described below

commit e7fcba8b671b39a5fc86ab00f9c3d9497906957c
Author: Devan Carpenter <devan@taler.net>
AuthorDate: Wed Jan 10 12:45:35 2024 -0500

    buildbot: create mailnotifier factory dynamically
    
    we want a mailnotifer created for each container project
---
 buildbot/master.cfg | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index e393e02..4fc8566 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -1001,9 +1001,26 @@ for repo in container_repos:
         builderNames=[f"{REPO_NAME}-builder"]
     ))
 
-    EMAIL_ALERTS.append(f"{REPO_NAME}-builder")
-    BUILDER_EMAIL_ADDRESSES.append(f"ci-{REPO_NAME}@taler.net")
-
+    SERVICES.append(reporters.MailNotifier(
+        fromaddr="buildbot@taler.net",
+        # notify from pass to fail, and viceversa.
+        generators=[BuildStatusGenerator(
+            mode=('change','problem','failing','exception',),
+            builders=[f"{REPO_NAME}-builder",],
+            message_formatter=reporters.MessageFormatter(
+                template_type='plain',
+                wantSteps=True,
+                wantLogs=True
+            ),
+            add_logs=True,
+        )],
+        sendToInterestedUsers=False,
+        useTls=False,
+        relayhost="localhost",
+        smtpPort=25,
+        dumpMailsToLog=True,
+        extraRecipients=[f"ci-{REPO_NAME}@taler.net"]
+    ))
 
 
 ################ 99: debug stuff JOB ###################################

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]