| OLD | NEW |
| 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 14 matching lines...) Expand all Loading... |
| 25 ActiveMaster = master_site_config.DynamoRIO | 25 ActiveMaster = master_site_config.DynamoRIO |
| 26 | 26 |
| 27 MASTER_HOST = ActiveMaster.master_host | 27 MASTER_HOST = ActiveMaster.master_host |
| 28 MAIL_NOTIFIER = ActiveMaster.is_production_host | 28 MAIL_NOTIFIER = ActiveMaster.is_production_host |
| 29 MASTER_PORT = ActiveMaster.master_port | 29 MASTER_PORT = ActiveMaster.master_port |
| 30 | 30 |
| 31 # This is the dictionary that the buildmaster pays attention to. We also use | 31 # This is the dictionary that the buildmaster pays attention to. We also use |
| 32 # a shorter alias to save typing. | 32 # a shorter alias to save typing. |
| 33 c = BuildmasterConfig = {} | 33 c = BuildmasterConfig = {} |
| 34 | 34 |
| 35 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 35 config.DatabaseSetup(c) |
| 36 | 36 |
| 37 # 'slavePortnum' defines the TCP port to listen on. This must match the value | 37 # 'slavePortnum' defines the TCP port to listen on. This must match the value |
| 38 # configured into the buildslaves (with their --master option) | 38 # configured into the buildslaves (with their --master option) |
| 39 c['slavePortnum'] = ActiveMaster.slave_port | 39 c['slavePortnum'] = ActiveMaster.slave_port |
| 40 | 40 |
| 41 slaves = slaves_list.SlavesList('slaves.cfg', 'DynamoRIO') | 41 slaves = slaves_list.SlavesList('slaves.cfg', 'DynamoRIO') |
| 42 | 42 |
| 43 | 43 |
| 44 ####### CHANGESOURCES | 44 ####### CHANGESOURCES |
| 45 | 45 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 ####### PROJECT IDENTITY | 216 ####### PROJECT IDENTITY |
| 217 | 217 |
| 218 # the 'projectName' string will be used to describe the project that this | 218 # the 'projectName' string will be used to describe the project that this |
| 219 # buildbot is working on. For example, it is used as the title of the | 219 # buildbot is working on. For example, it is used as the title of the |
| 220 # waterfall HTML page. The 'projectURL' string will be used to provide a link | 220 # waterfall HTML page. The 'projectURL' string will be used to provide a link |
| 221 # from buildbot HTML pages to your project's home page. | 221 # from buildbot HTML pages to your project's home page. |
| 222 | 222 |
| 223 c['projectName'] = ActiveMaster.project_name | 223 c['projectName'] = ActiveMaster.project_name |
| 224 c['projectURL'] = config.Master.project_url | 224 c['projectURL'] = config.Master.project_url |
| OLD | NEW |