| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 c['slavePortnum'] = ActiveMaster.slave_port | 53 c['slavePortnum'] = ActiveMaster.slave_port |
| 54 | 54 |
| 55 # Disable compression for the stdio files. | 55 # Disable compression for the stdio files. |
| 56 c['logCompressionLimit'] = False | 56 c['logCompressionLimit'] = False |
| 57 | 57 |
| 58 # Load the list of slaves. | 58 # Load the list of slaves. |
| 59 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumPerfFyi') | 59 slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumPerfFyi') |
| 60 | 60 |
| 61 config.DatabaseSetup(c) | 61 config.DatabaseSetup(c) |
| 62 | 62 |
| 63 def recipe_factory(recipe): | |
| 64 f_annotations = annotator_factory.AnnotatorFactory(ActiveMaster) | |
| 65 return f_annotations.BaseFactory(recipe=recipe) | |
| 66 | |
| 67 def m_remote_run(recipe, **kwargs): | 63 def m_remote_run(recipe, **kwargs): |
| 68 return remote_run_factory.RemoteRunFactory( | 64 return remote_run_factory.RemoteRunFactory( |
| 69 active_master=ActiveMaster, | 65 active_master=ActiveMaster, |
| 70 repository='https://chromium.googlesource.com/chromium/tools/build.git', | 66 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
| 71 recipe=recipe, | 67 recipe=recipe, |
| 72 factory_properties={'path_config': 'kitchen'}, | 68 factory_properties={'path_config': 'kitchen'}, |
| 73 **kwargs) | 69 **kwargs) |
| 74 | 70 |
| 75 | 71 |
| 76 # ------------------------------------------------------------------------------ | 72 # ------------------------------------------------------------------------------ |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 # used by gatekeeper to determine which steps it should | 120 # used by gatekeeper to determine which steps it should |
| 125 # look for to close the tree. | 121 # look for to close the tree. |
| 126 # | 122 # |
| 127 | 123 |
| 128 # 1. Builders | 124 # 1. Builders |
| 129 | 125 |
| 130 # 2. Android | 126 # 2. Android |
| 131 | 127 |
| 132 c['builders'].append({ | 128 c['builders'].append({ |
| 133 'name': 'Android Galaxy S5 Perf (1)', | 129 'name': 'Android Galaxy S5 Perf (1)', |
| 134 'factory': recipe_factory('android/perf'), | 130 'factory': m_remote_run('android/perf'), |
| 135 'category': '2android|builder_testers', | 131 'category': '2android|builder_testers', |
| 136 'triggered': True, | 132 'triggered': True, |
| 137 }) | 133 }) |
| 138 | 134 |
| 139 # 3. Windows | 135 # 3. Windows |
| 140 | 136 |
| 141 c['builders'].append({'name': 'Win 7 Intel GPU Perf (Xeon)', | 137 c['builders'].append({'name': 'Win 7 Intel GPU Perf (Xeon)', |
| 142 'factory': m_remote_run('chromium'), | 138 'factory': m_remote_run('chromium'), |
| 143 'category': '3windows|builder_testers', | 139 'category': '3windows|builder_testers', |
| 144 }) | 140 }) |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 250 |
| 255 ####### PROJECT IDENTITY | 251 ####### PROJECT IDENTITY |
| 256 | 252 |
| 257 # the 'projectName' string will be used to describe the project that this | 253 # the 'projectName' string will be used to describe the project that this |
| 258 # buildbot is working on. For example, it is used as the title of the | 254 # buildbot is working on. For example, it is used as the title of the |
| 259 # waterfall HTML page. The 'projectURL' string will be used to provide a link | 255 # waterfall HTML page. The 'projectURL' string will be used to provide a link |
| 260 # from buildbot HTML pages to your project's home page. | 256 # from buildbot HTML pages to your project's home page. |
| 261 | 257 |
| 262 c['projectName'] = ActiveMaster.project_name | 258 c['projectName'] = ActiveMaster.project_name |
| 263 c['projectURL'] = config.Master.project_url | 259 c['projectURL'] = config.Master.project_url |
| OLD | NEW |