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

Side by Side Diff: masters/master.client.v8.ports/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.client.v8.fyi/master.cfg ('k') | masters/master.client.v8/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 # -*- python -*- 1 # -*- python -*-
2 # ex: set syntax=python: 2 # ex: set syntax=python:
3 3
4 # Copyright 2016 The Chromium Authors. All rights reserved. 4 # Copyright 2016 The Chromium Authors. All rights reserved.
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 from buildbot.schedulers.basic import SingleBranchScheduler 8 from buildbot.schedulers.basic import SingleBranchScheduler
9 9
10 from master import gitiles_poller 10 from master import gitiles_poller
11 from master import master_utils 11 from master import master_utils
12 from master import slaves_list 12 from master import slaves_list
13 from master.factory import annotator_factory 13 from master.factory import annotator_factory
14 14
15 import config 15 import config
16 import master_site_config 16 import master_site_config
17 17
18 ActiveMaster = master_site_config.V8Ports 18 ActiveMaster = master_site_config.V8Ports
19 MAIL_NOTIFIER = ActiveMaster.is_production_host 19 MAIL_NOTIFIER = ActiveMaster.is_production_host
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 c['status'] = [] 24 c['status'] = []
25 25
26 26
27 ####### DATABASE 27 ####### DATABASE
28 28
29 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 29 config.DatabaseSetup(c)
30 30
31 31
32 ####### CHANGESOURCES 32 ####### CHANGESOURCES
33 33
34 comparator = gitiles_poller.GitilesRevisionComparator() 34 comparator = gitiles_poller.GitilesRevisionComparator()
35 c['change_source'] = [ 35 c['change_source'] = [
36 gitiles_poller.GitilesPoller( 36 gitiles_poller.GitilesPoller(
37 'https://chromium.googlesource.com/v8/v8', 37 'https://chromium.googlesource.com/v8/v8',
38 branches=['master'], 38 branches=['master'],
39 pollInterval=20, 39 pollInterval=20,
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 mail_notifier_cfg.Update(config, ActiveMaster, c) 273 mail_notifier_cfg.Update(config, ActiveMaster, c)
274 274
275 # Adjust the buildCaches to be 3x the number of slaves per builder. 275 # Adjust the buildCaches to be 3x the number of slaves per builder.
276 c['autoBuildCacheRatio'] = 3 276 c['autoBuildCacheRatio'] = 3
277 277
278 278
279 ####### PROJECT IDENTITY 279 ####### PROJECT IDENTITY
280 280
281 c['projectName'] = ActiveMaster.project_name 281 c['projectName'] = ActiveMaster.project_name
282 c['projectURL'] = config.Master.project_url 282 c['projectURL'] = config.Master.project_url
OLDNEW
« no previous file with comments | « masters/master.client.v8.fyi/master.cfg ('k') | masters/master.client.v8/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698