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

Unified Diff: scripts/tools/buildbot_tool_templates/master_site_config.py

Issue 761253003: Add a new buildbot-tool generator for master configs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge to head 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
« no previous file with comments | « scripts/tools/buildbot_tool_templates/master.cfg ('k') | scripts/tools/buildbot_tool_templates/slaves.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/tools/buildbot_tool_templates/master_site_config.py
diff --git a/scripts/tools/buildbot_tool_templates/master_site_config.py b/scripts/tools/buildbot_tool_templates/master_site_config.py
new file mode 100644
index 0000000000000000000000000000000000000000..973c330a9c58e99e397ac86fc5e9419026d5d356
--- /dev/null
+++ b/scripts/tools/buildbot_tool_templates/master_site_config.py
@@ -0,0 +1,16 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# 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.
+
+"""ActiveMaster definition."""
+
+from config_bootstrap import Master
+
+class %(master_classname)s(Master.%(master_base_class)s):
+ project_name = '%(master_classname)s'
+ master_port = %(master_port)s
+ slave_port = %(slave_port)s
+ master_port_alt = %(master_port_alt)s
+ buildbot_url = 'http://build.chromium.org/p/%(master_dirname)s/'
« no previous file with comments | « scripts/tools/buildbot_tool_templates/master.cfg ('k') | scripts/tools/buildbot_tool_templates/slaves.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698