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

Side by Side Diff: masters/master.chromium/master.cfg

Issue 14383021: Break config_default into master_site_configs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: config -> config_bootstrap for masters_test import Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # These modules come from scripts/master, which must be in the PYTHONPATH. 5 # These modules come from scripts/master, which must be in the PYTHONPATH.
6 from master import master_utils 6 from master import master_utils
7 from master import slaves_list 7 from master import slaves_list
8 8
9 import config 9 import config
10 import master_site_config
10 11
11 ActiveMaster = config.Master.Chromium 12 ActiveMaster = master_site_config.Chromium
12 13
13 # Only the production Chromium Buildbot acts as the tree gatekeeper. 14 # Only the production Chromium Buildbot acts as the tree gatekeeper.
14 TREE_GATE_KEEPER = ActiveMaster.is_production_host 15 TREE_GATE_KEEPER = ActiveMaster.is_production_host
15 16
16 c = BuildmasterConfig = {} 17 c = BuildmasterConfig = {}
17 c['change_source'] = [] 18 c['change_source'] = []
18 c['schedulers'] = [] 19 c['schedulers'] = []
19 c['builders'] = [] 20 c['builders'] = []
20 c['status'] = [] 21 c['status'] = []
21 22
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 # Adds common status and tools to this master. 54 # Adds common status and tools to this master.
54 master_utils.AutoSetupMaster(c, ActiveMaster, 55 master_utils.AutoSetupMaster(c, ActiveMaster,
55 enable_http_status_push=ActiveMaster.is_production_host) 56 enable_http_status_push=ActiveMaster.is_production_host)
56 57
57 # Do it at the end to override values set by AutoSetupMaster, the default is 58 # Do it at the end to override values set by AutoSetupMaster, the default is
58 # too low. Must keep at least a few days worth of builds. 59 # too low. Must keep at least a few days worth of builds.
59 c['buildHorizon'] = 3000 60 c['buildHorizon'] = 3000
60 c['logHorizon'] = 3000 61 c['logHorizon'] = 3000
61 # Must be at least 2x the number of slaves. 62 # Must be at least 2x the number of slaves.
62 c['eventHorizon'] = 200 63 c['eventHorizon'] = 200
OLDNEW
« no previous file with comments | « masters/master.chromium.win/master_site_config.py ('k') | masters/master.chromium/master_full_cfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698