| Index: masters/master.client.dart.packages/master.cfg
|
| diff --git a/masters/master.client.dart.packages/master.cfg b/masters/master.client.dart.packages/master.cfg
|
| index 214d4062d8f004e1832ab7fa18931295b94ad3cc..958904c150dc3225d7c09f6a0722331d7f2feb0b 100644
|
| --- a/masters/master.client.dart.packages/master.cfg
|
| +++ b/masters/master.client.dart.packages/master.cfg
|
| @@ -17,6 +17,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 import pub_poller
|
| @@ -152,6 +153,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(order_console_by_time=True,
|
| extra_templates=['templates']):
|
|
|