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

Side by Side Diff: masters/master.chromium.chromedriver/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.chrome/master.cfg ('k') | masters/master.chromium.fyi/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 Scheduler 5 from buildbot.scheduler import Scheduler
6 from buildbot.scheduler import Triggerable 6 from buildbot.scheduler import Triggerable
7 7
8 from common import chromium_utils 8 from common import chromium_utils
9 9
10 from master import gitiles_poller 10 from master import gitiles_poller
11 from master import master_config 11 from master import master_config
12 from master import master_utils 12 from master import master_utils
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 from buildbot import locks 15 from buildbot import locks
16 16
17 import config 17 import config
18 import master_site_config 18 import master_site_config
19 19
20 ActiveMaster = master_site_config.ChromiumChromeDriver 20 ActiveMaster = master_site_config.ChromiumChromeDriver
21 21
22 # This is the dictionary that the buildmaster pays attention to. We also use 22 # This is the dictionary that the buildmaster pays attention to. We also use
23 # a shorter alias to save typing. 23 # a shorter alias to save typing.
24 c = BuildmasterConfig = {} 24 c = BuildmasterConfig = {}
25 25
26 # Disable compression for the stdio files. 26 # Disable compression for the stdio files.
27 c['logCompressionLimit'] = False 27 c['logCompressionLimit'] = False
28 28
29 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 29 config.DatabaseSetup(c)
30 30
31 ####### CHANGESOURCES 31 ####### CHANGESOURCES
32 32
33 master_poller = gitiles_poller.GitilesPoller( 33 master_poller = gitiles_poller.GitilesPoller(
34 'https://chromium.googlesource.com/chromium/src') 34 'https://chromium.googlesource.com/chromium/src')
35 35
36 c['change_source'] = [master_poller] 36 c['change_source'] = [master_poller]
37 37
38 38
39 ####### SCHEDULERS 39 ####### SCHEDULERS
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 # Buildbot master url: 115 # Buildbot master url:
116 # Must come before AutoSetupMaster(). 116 # Must come before AutoSetupMaster().
117 c['buildbotURL'] = ActiveMaster.buildbot_url 117 c['buildbotURL'] = ActiveMaster.buildbot_url
118 118
119 # Adds common status and tools to this master. 119 # Adds common status and tools to this master.
120 master_utils.AutoSetupMaster(c, ActiveMaster, 120 master_utils.AutoSetupMaster(c, ActiveMaster,
121 public_html='../master.chromium/public_html', 121 public_html='../master.chromium/public_html',
122 templates=['../master.chromium/templates'], 122 templates=['../master.chromium/templates'],
123 tagComparator=master_poller.comparator, 123 tagComparator=master_poller.comparator,
124 enable_http_status_push=ActiveMaster.is_production_host) 124 enable_http_status_push=ActiveMaster.is_production_host)
OLDNEW
« no previous file with comments | « masters/master.chromium.chrome/master.cfg ('k') | masters/master.chromium.fyi/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698