| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright 2014 The Chromium Authors. All rights reserved. | 4 # Copyright 2014 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 | 8 |
| 9 from buildbot.scheduler import Dependent | 9 from buildbot.scheduler import Dependent |
| 10 from buildbot.scheduler import Scheduler | 10 from buildbot.scheduler import Scheduler |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 MASTER_HOST = ActiveMaster.master_host | 36 MASTER_HOST = ActiveMaster.master_host |
| 37 WEB_STATUS = True | 37 WEB_STATUS = True |
| 38 MAIL_NOTIFIER = ActiveMaster.is_production_host | 38 MAIL_NOTIFIER = ActiveMaster.is_production_host |
| 39 GOOD_REVISIONS = False | 39 GOOD_REVISIONS = False |
| 40 | 40 |
| 41 # This is the dictionary that the buildmaster pays attention to. We also use | 41 # This is the dictionary that the buildmaster pays attention to. We also use |
| 42 # a shorter alias to save typing. | 42 # a shorter alias to save typing. |
| 43 c = BuildmasterConfig = {} | 43 c = BuildmasterConfig = {} |
| 44 | 44 |
| 45 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 45 config.DatabaseSetup(c) |
| 46 | 46 |
| 47 # 'slavePortnum' defines the TCP port to listen on. This must match the value | 47 # 'slavePortnum' defines the TCP port to listen on. This must match the value |
| 48 # configured into the buildslaves (with their --master option) | 48 # configured into the buildslaves (with their --master option) |
| 49 c['slavePortnum'] = ActiveMaster.slave_port | 49 c['slavePortnum'] = ActiveMaster.slave_port |
| 50 | 50 |
| 51 slaves = slaves_list.SlavesList('slaves.cfg', 'DartPackages') | 51 slaves = slaves_list.SlavesList('slaves.cfg', 'DartPackages') |
| 52 | 52 |
| 53 variants = [ ] | 53 variants = [ ] |
| 54 | 54 |
| 55 # The default set of systems that we create for all packages | 55 # The default set of systems that we create for all packages |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 c['projectName'] = ActiveMaster.project_name | 198 c['projectName'] = ActiveMaster.project_name |
| 199 c['projectURL'] = config.Master.project_url | 199 c['projectURL'] = config.Master.project_url |
| 200 | 200 |
| 201 # the 'buildbotURL' string should point to the location where the buildbot's | 201 # the 'buildbotURL' string should point to the location where the buildbot's |
| 202 # internal web server (usually the html.Waterfall page) is visible. This | 202 # internal web server (usually the html.Waterfall page) is visible. This |
| 203 # typically uses the port number set in the Waterfall 'status' entry, but | 203 # typically uses the port number set in the Waterfall 'status' entry, but |
| 204 # with an externally-visible host name which the buildbot cannot figure out | 204 # with an externally-visible host name which the buildbot cannot figure out |
| 205 # without some help. | 205 # without some help. |
| 206 | 206 |
| 207 c['buildbotURL'] = ActiveMaster.buildbot_url | 207 c['buildbotURL'] = ActiveMaster.buildbot_url |
| OLD | NEW |