gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-deployment] branch master updated: filter twister we


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: filter twister web page
Date: Thu, 13 Jun 2019 01:04:00 +0200

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

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 59d4835  filter twister web page
59d4835 is described below

commit 59d483544b0848823f2b31b057860342437b8043
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Jun 13 01:03:52 2019 +0200

    filter twister web page
---
 buildbot/master.cfg | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 541445a..af95fc6 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -156,7 +156,19 @@ c["change_source"] = [ALLCS]
 # Configure the Schedulers, which decide how to react to incoming
 # changes.
 
-# Re-build documentation periodically
+def twister_web_page(change):
+    _change = change.asDict()
+    repo = _change.get("project")
+    if repo in ["www", "docs-landing"]:
+        return True
+
+    files = _change.get("files")
+    for file in files:
+        if re.search(r"web", file.get("name", ""))
+                and "twister" == repo:
+            return True
+
+    return False
 
 def doc_filter(change):
     _change = change.asDict()
@@ -200,7 +212,10 @@ SITES_SCHEDULER = schedulers.SingleBranchScheduler(
     builderNames=["sites-builder"],
     change_filter=util.ChangeFilter(
         branch_re="(master|stable)",
-        project_re="(www|docs-landing)"),
+        # Given that filter_fn is used, the line below could be
+        # removed (?)
+        project_re="(www|docs-landing|twister)",
+        filter_fn=twister_web_page),
     treeStableTimer=None)
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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