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

Side by Side Diff: masters/master.chromium.gpu.fyi/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, 5 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.gatekeeper/master.cfg ('k') | masters/master.chromium.gpu/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 from buildbot.scheduler import Dependent 5 from buildbot.scheduler import Dependent
6 6
7 from common import chromium_utils 7 from common import chromium_utils
8 8
9 from master import gitiles_poller 9 from master import gitiles_poller
10 from master import master_config 10 from master import master_config
11 from master import master_utils 11 from master import master_utils
12 from master import recipe_master_helper 12 from master import recipe_master_helper
13 from master import slaves_list 13 from master import slaves_list
14 from master.factory import annotator_factory 14 from master.factory import annotator_factory
15 15
16 import config 16 import config
17 import master_site_config 17 import master_site_config
18 18
19 ActiveMaster = master_site_config.ChromiumGPUFYI 19 ActiveMaster = master_site_config.ChromiumGPUFYI
20 20
21 # This is the dictionary that the buildmaster pays attention to. We also use 21 # This is the dictionary that the buildmaster pays attention to. We also use
22 # a shorter alias to save typing. 22 # a shorter alias to save typing.
23 c = BuildmasterConfig = {} 23 c = BuildmasterConfig = {}
24 24
25 # Enable compression for any stdio log file larger than 10 MB. 25 # Enable compression for any stdio log file larger than 10 MB.
26 c['logCompressionLimit'] = 1024 * 1024 * 10 # 10 MB 26 c['logCompressionLimit'] = 1024 * 1024 * 10 # 10 MB
27 27
28 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 28 config.DatabaseSetup(c)
29 29
30 ####### CHANGESOURCES 30 ####### CHANGESOURCES
31 31
32 master_poller = gitiles_poller.GitilesPoller( 32 master_poller = gitiles_poller.GitilesPoller(
33 'https://chromium.googlesource.com/chromium/src') 33 'https://chromium.googlesource.com/chromium/src')
34 34
35 c['change_source'] = [master_poller] 35 c['change_source'] = [master_poller]
36 36
37 37
38 ####### SLAVES 38 ####### SLAVES
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 # Buildbot master url: 87 # Buildbot master url:
88 # Must come before AutoSetupMaster(). 88 # Must come before AutoSetupMaster().
89 c['buildbotURL'] = ActiveMaster.buildbot_url 89 c['buildbotURL'] = ActiveMaster.buildbot_url
90 90
91 # Adds common status and tools to this master. 91 # Adds common status and tools to this master.
92 master_utils.AutoSetupMaster(c, ActiveMaster, 92 master_utils.AutoSetupMaster(c, ActiveMaster,
93 public_html='../master.chromium/public_html', 93 public_html='../master.chromium/public_html',
94 templates=['../master.chromium/templates'], 94 templates=['../master.chromium/templates'],
95 tagComparator=master_poller.comparator, 95 tagComparator=master_poller.comparator,
96 enable_http_status_push=ActiveMaster.is_production_host) 96 enable_http_status_push=ActiveMaster.is_production_host)
OLDNEW
« no previous file with comments | « masters/master.chromium.gatekeeper/master.cfg ('k') | masters/master.chromium.gpu/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698