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

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

Issue 2094613002: Don't require a .dbconfig file on any masters. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « masters/master.chromium.win/master.cfg ('k') | masters/master.chromiumos.chromium/master.cfg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import master_site_config
11 11
12 ActiveMaster = master_site_config.Chromium 12 ActiveMaster = master_site_config.Chromium
13 13
14 c = BuildmasterConfig = {} 14 c = BuildmasterConfig = {}
15 c['change_source'] = [] 15 c['change_source'] = []
16 c['schedulers'] = [] 16 c['schedulers'] = []
17 c['builders'] = [] 17 c['builders'] = []
18 c['status'] = [] 18 c['status'] = []
19 19
20 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 20 config.DatabaseSetup(c)
21 21
22 import master_source_cfg 22 import master_source_cfg
23 import master_full_cfg 23 import master_full_cfg
24 24
25 master_source_cfg.Update(config, ActiveMaster, c) 25 master_source_cfg.Update(config, ActiveMaster, c)
26 master_full_cfg.Update(config, ActiveMaster, c) 26 master_full_cfg.Update(config, ActiveMaster, c)
27 27
28 c['logCompressionLimit'] = False 28 c['logCompressionLimit'] = False
29 c['projectName'] = ActiveMaster.project_name 29 c['projectName'] = ActiveMaster.project_name
30 c['projectURL'] = config.Master.project_url 30 c['projectURL'] = config.Master.project_url
(...skipping 17 matching lines...) Expand all
48 master_utils.AutoSetupMaster(c, ActiveMaster, 48 master_utils.AutoSetupMaster(c, ActiveMaster,
49 tagComparator=getattr(c['change_source'][0], 'comparator', None), 49 tagComparator=getattr(c['change_source'][0], 'comparator', None),
50 enable_http_status_push=ActiveMaster.is_production_host) 50 enable_http_status_push=ActiveMaster.is_production_host)
51 51
52 # Do it at the end to override values set by AutoSetupMaster, the default is 52 # Do it at the end to override values set by AutoSetupMaster, the default is
53 # too low. Must keep at least a few days worth of builds. 53 # too low. Must keep at least a few days worth of builds.
54 c['buildHorizon'] = 3000 54 c['buildHorizon'] = 3000
55 c['logHorizon'] = 3000 55 c['logHorizon'] = 3000
56 # Must be at least 2x the number of slaves. 56 # Must be at least 2x the number of slaves.
57 c['eventHorizon'] = 200 57 c['eventHorizon'] = 200
OLDNEW
« no previous file with comments | « masters/master.chromium.win/master.cfg ('k') | masters/master.chromiumos.chromium/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698