Index: masters/master.chromium.mojo/master.cfg |
diff --git a/scripts/tools/buildbot_tool_templates/master.cfg b/masters/master.chromium.mojo/master.cfg |
similarity index 86% |
copy from scripts/tools/buildbot_tool_templates/master.cfg |
copy to masters/master.chromium.mojo/master.cfg |
index 6a4d90a9503d8d87e068d369a7f27a459fc35c43..65737d2e8da6e3d887cf0c5db58089c6defe70f2 100644 |
--- a/scripts/tools/buildbot_tool_templates/master.cfg |
+++ b/masters/master.chromium.mojo/master.cfg |
@@ -2,7 +2,11 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-# This file is used by scripts/tools/buildbot-tool to generate master configs. |
+# This file was generated from |
+# scripts/tools/buildbot_tool_templates/master.cfg |
+# by scripts/tools/buildbot-tool. |
+# DO NOT EDIT BY HAND! |
+ |
# These modules come from scripts/master, which must be in the PYTHONPATH. |
from master import master_utils |
@@ -13,7 +17,7 @@ from buildbot.status.mail import MailNotifier |
import config |
import master_site_config |
-ActiveMaster = master_site_config.%(master_classname)s |
+ActiveMaster = master_site_config.ChromiumMojo |
m_annotator = annotator_factory.AnnotatorFactory() |
@@ -23,7 +27,11 @@ c['schedulers'] = [] |
c['builders'] = [] |
c['status'] = [] |
-%(builders_block)s |
+c['builders'].append({ |
+ 'name': 'Chromium Mojo Linux', |
+ 'factory': m_annotator.BaseFactory('chromium_mojo'), |
+ 'slavebuilddir': 'chromium_mojo'}) |
+ |
config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) |
@@ -46,7 +54,7 @@ c['buildbotURL'] = ActiveMaster.buildbot_url |
# Associate the slaves to the manual builders. The configuration is in |
# slaves.cfg. |
-slaves = slaves_list.SlavesList('slaves.cfg', '%(master_classname)s') |
+slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumMojo') |
for builder in c['builders']: |
builder['slavenames'] = slaves.GetSlavesName(builder=builder['name']) |