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

Side by Side Diff: masters/master.client.nacl.toolchain/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.nacl.sdk/master.cfg ('k') | masters/master.client.nacl/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 (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 17 matching lines...) Expand all
28 28
29 ActiveMaster = master_site_config.NativeClientToolchain 29 ActiveMaster = master_site_config.NativeClientToolchain
30 30
31 nacl_source_url = ( 31 nacl_source_url = (
32 'https://chromium.googlesource.com/native_client/src/native_client') 32 'https://chromium.googlesource.com/native_client/src/native_client')
33 33
34 # This is the dictionary that the buildmaster pays attention to. We also use 34 # This is the dictionary that the buildmaster pays attention to. We also use
35 # a shorter alias to save typing. 35 # a shorter alias to save typing.
36 c = BuildmasterConfig = {} 36 c = BuildmasterConfig = {}
37 37
38 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 38 config.DatabaseSetup(c)
39 39
40 master_poller = gitiles_poller.GitilesPoller(nacl_source_url) 40 master_poller = gitiles_poller.GitilesPoller(nacl_source_url)
41 41
42 c['change_source'] = [master_poller] 42 c['change_source'] = [master_poller]
43 43
44 def F_NACL_RECIPE(): 44 def F_NACL_RECIPE():
45 return annotator_factory.AnnotatorFactory().BaseFactory(recipe='nacl', 45 return annotator_factory.AnnotatorFactory().BaseFactory(recipe='nacl',
46 factory_properties = {'slavetype': 'BuilderTester'}); 46 factory_properties = {'slavetype': 'BuilderTester'});
47 47
48 # The identifier of the factory is the build configuration. If two factories 48 # The identifier of the factory is the build configuration. If two factories
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 # Adds common status and tools to this master. 150 # Adds common status and tools to this master.
151 master_utils.AutoSetupMaster( 151 master_utils.AutoSetupMaster(
152 c, ActiveMaster, 152 c, ActiveMaster,
153 public_html='../master.chromium/public_html', 153 public_html='../master.chromium/public_html',
154 tagComparator=master_poller.comparator, 154 tagComparator=master_poller.comparator,
155 templates=['./templates', '../master.client.nacl/templates']) 155 templates=['./templates', '../master.client.nacl/templates'])
156 156
157 157
158 # Adjust the buildCaches to be 3x the number of slaves per builder. 158 # Adjust the buildCaches to be 3x the number of slaves per builder.
159 c['autoBuildCacheRatio'] = 3 159 c['autoBuildCacheRatio'] = 3
OLDNEW
« no previous file with comments | « masters/master.client.nacl.sdk/master.cfg ('k') | masters/master.client.nacl/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698