Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(924)

Unified Diff: masters/master.client.dart.fyi/master.cfg

Issue 2353653002: Activate pubsub for dart masters (Closed)
Patch Set: Remove logging Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | masters/master.client.dart.packages/master.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: masters/master.client.dart.fyi/master.cfg
diff --git a/masters/master.client.dart.fyi/master.cfg b/masters/master.client.dart.fyi/master.cfg
index 46006e98cc1f2277145ac318a319c9c9912090dd..8be0b19ea6229ea91f0dd6f13dcd1273a0fd1d58 100644
--- a/masters/master.client.dart.fyi/master.cfg
+++ b/masters/master.client.dart.fyi/master.cfg
@@ -19,6 +19,7 @@ from master import build_utils
from master import master_utils
from master import slaves_list
from master import status_logger
+from master import pubsub_json_status_push
from master.factory import gclient_factory, annotator_factory
from master.factory.dart import dart_factory
from master.factory.dart.dart_factory import (linux_env, windows_env,
@@ -319,6 +320,15 @@ c['prioritizeBuilders'] = utils.prioritize_builders
c['status'] = [status_logger.StatusEventLogger()]
+# Add in the pubsub pusher, which pushes all status updates to a pubsub
+# topic. This will not run unless is_production_host is set to True.
+# This will fail on a production host if it cannot find the service
+# account file.
+pubsub_pusher = pubsub_json_status_push.StatusPush.CreateStatusPush(
+ activeMaster=ActiveMaster)
+if pubsub_pusher:
+ c['status'].append(pubsub_pusher)
+
if WEB_STATUS:
for status in utils.get_web_statuses():
c['status'].append(status)
« no previous file with comments | « no previous file | masters/master.client.dart.packages/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698