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

Unified Diff: masters/master.chromium.mojo/master.cfg

Issue 782043003: Add a new chromium.mojo master (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: add chromium_mojo recipe, refactor chromium_gn recipe Created 6 years 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
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 76%
copy from scripts/tools/buildbot_tool_templates/master.cfg
copy to masters/master.chromium.mojo/master.cfg
index de1fd56a6e48964c867b48a9924903f69ae90680..e6c94631316fb4d5045ca2919404428d4dae6487 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 gen masters/master.chromium.mojo".
+# DO NOT EDIT BY HAND!
+
# These modules come from scripts/master, which must be in the PYTHONPATH.
from master import gitiles_poller
@@ -14,7 +18,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()
@@ -24,12 +28,24 @@ c['schedulers'] = []
c['builders'] = []
c['status'] = []
-%(builders_block)s
+c['builders'].append({
+ 'name': 'Chromium Mojo Mac',
+ 'factory': m_annotator.BaseFactory('chromium_mojo'),
+ 'slavebuilddir': 'chromium_mojo'})
+c['builders'].append({
+ 'name': 'Chromium Mojo Win',
+ 'factory': m_annotator.BaseFactory('chromium_mojo'),
+ 'slavebuilddir': 'chromium_mojo'})
+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)
c['change_source'].append(gitiles_poller.GitilesPoller(
- '%(git_repo_url)s'))
+ 'https://chromium.googlesource.com/src/src.git'))
c['schedulers'].extend([
SingleBranchScheduler(name='source',
@@ -46,7 +62,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'])

Powered by Google App Engine
This is Rietveld 408576698