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

Side by Side Diff: masters/master.chromium.swarm/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.chromium.perf/master.cfg ('k') | masters/master.chromium.webkit/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 from buildbot.scheduler import Scheduler 8 from buildbot.scheduler import Scheduler
9 from buildbot.schedulers import timed 9 from buildbot.schedulers import timed
10 from buildbot.status import mail 10 from buildbot.status import mail
(...skipping 11 matching lines...) Expand all
22 ActiveMaster = master_site_config.ChromiumSwarm 22 ActiveMaster = master_site_config.ChromiumSwarm
23 23
24 # This is the dictionary that the buildmaster pays attention to. We also use 24 # This is the dictionary that the buildmaster pays attention to. We also use
25 # a shorter alias to save typing. 25 # a shorter alias to save typing.
26 c = BuildmasterConfig = {} 26 c = BuildmasterConfig = {}
27 27
28 # 'slavePortnum' defines the TCP port to listen on. This must match the value 28 # 'slavePortnum' defines the TCP port to listen on. This must match the value
29 # configured into the buildslaves (with their --master option) 29 # configured into the buildslaves (with their --master option)
30 c['slavePortnum'] = ActiveMaster.slave_port 30 c['slavePortnum'] = ActiveMaster.slave_port
31 31
32 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 32 config.DatabaseSetup(c)
33 33
34 ####### CHANGESOURCES 34 ####### CHANGESOURCES
35 35
36 # Polls config.Master.trunk_url for changes 36 # Polls config.Master.trunk_url for changes
37 master_poller = gitiles_poller.GitilesPoller( 37 master_poller = gitiles_poller.GitilesPoller(
38 'https://chromium.googlesource.com/chromium/src') 38 'https://chromium.googlesource.com/chromium/src')
39 39
40 c['change_source'] = [master_poller] 40 c['change_source'] = [master_poller]
41 41
42 ####### SCHEDULERS 42 ####### SCHEDULERS
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 public_html="../master.chromium/public_html", 158 public_html="../master.chromium/public_html",
159 templates=['../master.chromium/templates'], 159 templates=['../master.chromium/templates'],
160 tagComparator=master_poller.comparator, 160 tagComparator=master_poller.comparator,
161 enable_http_status_push=ActiveMaster.is_production_host) 161 enable_http_status_push=ActiveMaster.is_production_host)
162 162
163 163
164 ####### PROJECT IDENTITY 164 ####### PROJECT IDENTITY
165 165
166 c['projectName'] = ActiveMaster.project_name 166 c['projectName'] = ActiveMaster.project_name
167 c['projectURL'] = config.Master.project_url 167 c['projectURL'] = config.Master.project_url
OLDNEW
« no previous file with comments | « masters/master.chromium.perf/master.cfg ('k') | masters/master.chromium.webkit/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698