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

Side by Side Diff: masters/master.client.dart/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 # It has one job: define a dictionary named BuildmasterConfig. This 8 # It has one job: define a dictionary named BuildmasterConfig. This
9 # dictionary has a variety of keys to control different aspects of the 9 # dictionary has a variety of keys to control different aspects of the
10 # buildmaster. They are documented in docs/config.xhtml . 10 # buildmaster. They are documented in docs/config.xhtml .
(...skipping 25 matching lines...) Expand all
36 36
37 MASTER_HOST = ActiveMaster.master_host 37 MASTER_HOST = ActiveMaster.master_host
38 WEB_STATUS = True 38 WEB_STATUS = True
39 MAIL_NOTIFIER = ActiveMaster.is_production_host 39 MAIL_NOTIFIER = ActiveMaster.is_production_host
40 GOOD_REVISIONS = ActiveMaster.is_production_host 40 GOOD_REVISIONS = ActiveMaster.is_production_host
41 41
42 # This is the dictionary that the buildmaster pays attention to. We also use 42 # This is the dictionary that the buildmaster pays attention to. We also use
43 # a shorter alias to save typing. 43 # a shorter alias to save typing.
44 c = BuildmasterConfig = {} 44 c = BuildmasterConfig = {}
45 45
46 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) 46 config.DatabaseSetup(c)
47 47
48 # 'slavePortnum' defines the TCP port to listen on. This must match the value 48 # 'slavePortnum' defines the TCP port to listen on. This must match the value
49 # configured into the buildslaves (with their --master option) 49 # configured into the buildslaves (with their --master option)
50 c['slavePortnum'] = ActiveMaster.slave_port 50 c['slavePortnum'] = ActiveMaster.slave_port
51 51
52 slaves = slaves_list.SlavesList('slaves.cfg', 'Dart') 52 slaves = slaves_list.SlavesList('slaves.cfg', 'Dart')
53 53
54 annotator = annotator_factory.AnnotatorFactory() 54 annotator = annotator_factory.AnnotatorFactory()
55 55
56 def setup_channel(channel): 56 def setup_channel(channel):
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 c['projectName'] = ActiveMaster.project_name 634 c['projectName'] = ActiveMaster.project_name
635 c['projectURL'] = config.Master.project_url 635 c['projectURL'] = config.Master.project_url
636 636
637 # the 'buildbotURL' string should point to the location where the buildbot's 637 # the 'buildbotURL' string should point to the location where the buildbot's
638 # internal web server (usually the html.Waterfall page) is visible. This 638 # internal web server (usually the html.Waterfall page) is visible. This
639 # typically uses the port number set in the Waterfall 'status' entry, but 639 # typically uses the port number set in the Waterfall 'status' entry, but
640 # with an externally-visible host name which the buildbot cannot figure out 640 # with an externally-visible host name which the buildbot cannot figure out
641 # without some help. 641 # without some help.
642 642
643 c['buildbotURL'] = ActiveMaster.buildbot_url 643 c['buildbotURL'] = ActiveMaster.buildbot_url
OLDNEW
« no previous file with comments | « masters/master.client.dart.packages/master.cfg ('k') | masters/master.client.drmemory/master.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698