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

Side by Side Diff: masters/master.client.nacl/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
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # ex: set syntax=python: 2 # ex: set syntax=python:
3 3
4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 4 # Copyright (c) 2012 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 # This is the buildmaster config file for the 'nacl' bot. It must 8 # This is the buildmaster config file for the 'nacl' bot. It must
9 # be installed as 'master.cfg' in your buildmaster's base directory 9 # be installed as 'master.cfg' in your buildmaster's base directory
10 # (although the filename can be changed with the --basedir option to 10 # (although the filename can be changed with the --basedir option to
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 # TODO(xusydoc): make Master subclasses handle these overrides automatically. 45 # TODO(xusydoc): make Master subclasses handle these overrides automatically.
46 config.Master.perf_base_url = ActiveMaster.perf_base_url 46 config.Master.perf_base_url = ActiveMaster.perf_base_url
47 47
48 # gatekeeper-ng is used; see build/scripts/slave/gatekeeper*.json 48 # gatekeeper-ng is used; see build/scripts/slave/gatekeeper*.json
49 49
50 # This is the dictionary that the buildmaster pays attention to. We also use 50 # This is the dictionary that the buildmaster pays attention to. We also use
51 # a shorter alias to save typing. 51 # a shorter alias to save typing.
52 c = BuildmasterConfig = {} 52 c = BuildmasterConfig = {}
53 53
54 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 54 config.DatabaseSetup(c)
55 55
56 master_poller = gitiles_poller.GitilesPoller(nacl_source_url) 56 master_poller = gitiles_poller.GitilesPoller(nacl_source_url)
57 57
58 c['change_source'] = [master_poller] 58 c['change_source'] = [master_poller]
59 59
60 def F_NACL_RECIPE(): 60 def F_NACL_RECIPE():
61 return annotator_factory.AnnotatorFactory().BaseFactory(recipe='nacl', 61 return annotator_factory.AnnotatorFactory().BaseFactory(recipe='nacl',
62 factory_properties = {'slavetype': 'BuilderTester'}); 62 factory_properties = {'slavetype': 'BuilderTester'});
63 63
64 64
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 # Adds common status and tools to this master. 244 # Adds common status and tools to this master.
245 master_utils.AutoSetupMaster( 245 master_utils.AutoSetupMaster(
246 c, ActiveMaster, 246 c, ActiveMaster,
247 public_html='../master.chromium/public_html', 247 public_html='../master.chromium/public_html',
248 tagComparator=getattr(c['change_source'][0], 'comparator', None), 248 tagComparator=getattr(c['change_source'][0], 'comparator', None),
249 templates=['./templates', '../master.chromium/templates']) 249 templates=['./templates', '../master.chromium/templates'])
250 250
251 251
252 # Adjust the buildCaches to be 3x the number of slaves per builder. 252 # Adjust the buildCaches to be 3x the number of slaves per builder.
253 c['autoBuildCacheRatio'] = 3 253 c['autoBuildCacheRatio'] = 3
OLDNEW
« no previous file with comments | « masters/master.client.nacl.toolchain/master.cfg ('k') | masters/master.client.v8.branches/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698