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

Side by Side Diff: masters/master.tryserver.v8/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.tryserver.nacl/master.cfg ('k') | masters/master.tryserver.webrtc/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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import os 6 import os
7 7
8 from common import chromium_utils 8 from common import chromium_utils
9 9
10 from master import master_utils 10 from master import master_utils
11 from master import slaves_list 11 from master import slaves_list
12 from master.builders_pools import BuildersPools 12 from master.builders_pools import BuildersPools
13 from master.factory import annotator_factory 13 from master.factory import annotator_factory
14 from master.try_job_http import TryJobHTTP 14 from master.try_job_http import TryJobHTTP
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.V8TryServer 19 ActiveMaster = master_site_config.V8TryServer
20 MAIL_NOTIFIER = True 20 MAIL_NOTIFIER = True
21 LISTEN_TO_SVN = ActiveMaster.svn_url and ActiveMaster.is_production_host 21 LISTEN_TO_SVN = ActiveMaster.svn_url and ActiveMaster.is_production_host
22 22
23 # This is the dictionary that the buildmaster pays attention to. We also use 23 # This is the dictionary that the buildmaster pays attention to. We also use
24 # a shorter alias to save typing. 24 # a shorter alias to save typing.
25 c = BuildmasterConfig = {} 25 c = BuildmasterConfig = {}
26 c['status'] = [] 26 c['status'] = []
27 27
28 ####### DATABASE 28 ####### DATABASE
29 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 29 config.DatabaseSetup(c)
30 30
31 ####### CHANGESOURCES 31 ####### CHANGESOURCES
32 c['change_source'] = [] 32 c['change_source'] = []
33 33
34 # Avoid merging requests. 34 # Avoid merging requests.
35 c['mergeRequests'] = lambda *_: False 35 c['mergeRequests'] = lambda *_: False
36 36
37 m_annotator = annotator_factory.AnnotatorFactory(ActiveMaster) 37 m_annotator = annotator_factory.AnnotatorFactory(ActiveMaster)
38 38
39 # ---------------------------------------------------------------------------- 39 # ----------------------------------------------------------------------------
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 c['logHorizon'] = 2000 285 c['logHorizon'] = 2000
286 # Must be at least 2x the number of slaves. 286 # Must be at least 2x the number of slaves.
287 c['eventHorizon'] = 60 287 c['eventHorizon'] = 60
288 # Must be at least 2x the number of on-going builds. 288 # Must be at least 2x the number of on-going builds.
289 c['buildCacheSize'] = 60 289 c['buildCacheSize'] = 60
290 290
291 ####### PROJECT IDENTITY 291 ####### PROJECT IDENTITY
292 292
293 c['projectName'] = ActiveMaster.project_name 293 c['projectName'] = ActiveMaster.project_name
294 c['projectURL'] = config.Master.project_url 294 c['projectURL'] = config.Master.project_url
OLDNEW
« no previous file with comments | « masters/master.tryserver.nacl/master.cfg ('k') | masters/master.tryserver.webrtc/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698