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

Side by Side Diff: masters/master.chromiumos.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/master.cfg ('k') | masters/master.chromiumos.tryserver/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 MASTER='ChromiumOSChromium' 12 MASTER='ChromiumOSChromium'
13 ActiveMaster = master_site_config.ChromiumOSChromium 13 ActiveMaster = master_site_config.ChromiumOSChromium
14 14
15 # Only the production Chromium Buildbot acts as the tree gatekeeper. 15 # Only the production Chromium Buildbot acts as the tree gatekeeper.
16 TREE_GATE_KEEPER = ActiveMaster.is_production_host 16 TREE_GATE_KEEPER = ActiveMaster.is_production_host
17 17
18 c = BuildmasterConfig = {} 18 c = BuildmasterConfig = {}
19 c['change_source'] = [] 19 c['change_source'] = []
20 c['schedulers'] = [] 20 c['schedulers'] = []
21 c['builders'] = [] 21 c['builders'] = []
22 c['status'] = [] 22 c['status'] = []
23 23
24 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 24 config.DatabaseSetup(c)
25 25
26 import master_source_cfg 26 import master_source_cfg
27 import master_chromium_cfg 27 import master_chromium_cfg
28 import master_asan_cfg 28 import master_asan_cfg
29 import master_perf_cfg 29 import master_perf_cfg
30 30
31 master_source_cfg.Update(config, ActiveMaster, c) 31 master_source_cfg.Update(config, ActiveMaster, c)
32 master_chromium_cfg.Update(config, ActiveMaster, c) 32 master_chromium_cfg.Update(config, ActiveMaster, c)
33 master_asan_cfg.Update(config, ActiveMaster, c) 33 master_asan_cfg.Update(config, ActiveMaster, c)
34 master_perf_cfg.Update(config, ActiveMaster, c) 34 master_perf_cfg.Update(config, ActiveMaster, c)
(...skipping 20 matching lines...) Expand all
55 c['builders'], 55 c['builders'],
56 config.Master.GetBotPassword()) 56 config.Master.GetBotPassword())
57 master_utils.VerifySetup(c, slaves) 57 master_utils.VerifySetup(c, slaves)
58 58
59 # Adds common status and tools to this master. 59 # Adds common status and tools to this master.
60 master_utils.AutoSetupMaster(c, ActiveMaster, 60 master_utils.AutoSetupMaster(c, ActiveMaster,
61 public_html='../master.chromium/public_html', 61 public_html='../master.chromium/public_html',
62 templates=['../master.chromium/templates'], 62 templates=['../master.chromium/templates'],
63 tagComparator=getattr(c['change_source'][0], 'comparator', None), 63 tagComparator=getattr(c['change_source'][0], 'comparator', None),
64 enable_http_status_push=ActiveMaster.is_production_host) 64 enable_http_status_push=ActiveMaster.is_production_host)
OLDNEW
« no previous file with comments | « masters/master.chromium/master.cfg ('k') | masters/master.chromiumos.tryserver/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698