| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 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 # This is the buildmaster config file for the 'chromium' bot. It must | 8 # This is the buildmaster config file for the 'chromium' 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 # 'slavePortnum' defines the TCP port to listen on. This must match the value | 50 # 'slavePortnum' defines the TCP port to listen on. This must match the value |
| 51 # configured into the buildslaves (with their --master option) | 51 # configured into the buildslaves (with their --master option) |
| 52 c['slavePortnum'] = ActiveMaster.slave_port | 52 c['slavePortnum'] = ActiveMaster.slave_port |
| 53 | 53 |
| 54 # Disable compression for the stdio files. | 54 # Disable compression for the stdio files. |
| 55 c['logCompressionLimit'] = False | 55 c['logCompressionLimit'] = False |
| 56 | 56 |
| 57 # Load the list of slaves. | 57 # Load the list of slaves. |
| 58 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumPerfFyi') | 58 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumPerfFyi') |
| 59 | 59 |
| 60 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 60 config.DatabaseSetup(c) |
| 61 | 61 |
| 62 def recipe_factory(recipe): | 62 def recipe_factory(recipe): |
| 63 f_annotations = annotator_factory.AnnotatorFactory(ActiveMaster) | 63 f_annotations = annotator_factory.AnnotatorFactory(ActiveMaster) |
| 64 return f_annotations.BaseFactory(recipe=recipe) | 64 return f_annotations.BaseFactory(recipe=recipe) |
| 65 | 65 |
| 66 | 66 |
| 67 # ------------------------------------------------------------------------------ | 67 # ------------------------------------------------------------------------------ |
| 68 # Change Sources. | 68 # Change Sources. |
| 69 | 69 |
| 70 # Polls config.Master.trunk_url for changes | 70 # Polls config.Master.trunk_url for changes |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 | 260 |
| 261 ####### PROJECT IDENTITY | 261 ####### PROJECT IDENTITY |
| 262 | 262 |
| 263 # the 'projectName' string will be used to describe the project that this | 263 # the 'projectName' string will be used to describe the project that this |
| 264 # buildbot is working on. For example, it is used as the title of the | 264 # buildbot is working on. For example, it is used as the title of the |
| 265 # waterfall HTML page. The 'projectURL' string will be used to provide a link | 265 # waterfall HTML page. The 'projectURL' string will be used to provide a link |
| 266 # from buildbot HTML pages to your project's home page. | 266 # from buildbot HTML pages to your project's home page. |
| 267 | 267 |
| 268 c['projectName'] = ActiveMaster.project_name | 268 c['projectName'] = ActiveMaster.project_name |
| 269 c['projectURL'] = config.Master.project_url | 269 c['projectURL'] = config.Master.project_url |
| OLD | NEW |