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

Side by Side Diff: masters/master.chromium.chrome/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 | « no previous file | masters/master.chromium.chromedriver/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 6
7 # These modules come from scripts/master, which must be in the PYTHONPATH. 7 # These modules come from scripts/master, which must be in the PYTHONPATH.
8 from master import gitiles_poller 8 from master import gitiles_poller
9 from master import master_utils 9 from master import master_utils
10 from master import slaves_list 10 from master import slaves_list
11 11
12 from master.factory import annotator_factory 12 from master.factory import annotator_factory
13 13
14 # These modules come from scripts/common, which must be in the PYTHONPATH. 14 # These modules come from scripts/common, which must be in the PYTHONPATH.
15 import config 15 import config
16 import master_site_config 16 import master_site_config
17 17
18 from common import chromium_utils 18 from common import chromium_utils
19 19
20 ActiveMaster = master_site_config.ChromiumChrome 20 ActiveMaster = master_site_config.ChromiumChrome
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 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 26 config.DatabaseSetup(c)
27 27
28 ####### CHANGESOURCES 28 ####### CHANGESOURCES
29 29
30 master_poller = gitiles_poller.GitilesPoller( 30 master_poller = gitiles_poller.GitilesPoller(
31 'https://chromium.googlesource.com/chromium/src') 31 'https://chromium.googlesource.com/chromium/src')
32 32
33 c['change_source'] = [master_poller] 33 c['change_source'] = [master_poller]
34 34
35 35
36 ####### SCHEDULERS 36 ####### SCHEDULERS
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 # Buildbot master url: 137 # Buildbot master url:
138 # Must come before AutoSetupMaster(). 138 # Must come before AutoSetupMaster().
139 c['buildbotURL'] = ActiveMaster.buildbot_url 139 c['buildbotURL'] = ActiveMaster.buildbot_url
140 140
141 # Adds common status and tools to this master. 141 # Adds common status and tools to this master.
142 master_utils.AutoSetupMaster(c, ActiveMaster, 142 master_utils.AutoSetupMaster(c, ActiveMaster,
143 public_html='../master.chromium/public_html', 143 public_html='../master.chromium/public_html',
144 templates=['../master.chromium/templates'], 144 templates=['../master.chromium/templates'],
145 tagComparator=master_poller.comparator, 145 tagComparator=master_poller.comparator,
146 enable_http_status_push=ActiveMaster.is_production_host) 146 enable_http_status_push=ActiveMaster.is_production_host)
OLDNEW
« no previous file with comments | « no previous file | masters/master.chromium.chromedriver/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698