| OLD | NEW |
| 1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This is the buildmaster config file for the 'chromium.perf' bot. It must | 5 # This is the buildmaster config file for the 'chromium.perf' bot. It must |
| 6 # be installed as 'master.cfg' in your buildmaster's base directory | 6 # be installed as 'master.cfg' in your buildmaster's base directory |
| 7 # (although the filename can be changed with the --basedir option to | 7 # (although the filename can be changed with the --basedir option to |
| 8 # 'mktap buildbot master'). | 8 # 'mktap buildbot master'). |
| 9 | 9 |
| 10 # It has one job: define a dictionary named BuildmasterConfig. This | 10 # It has one job: define a dictionary named BuildmasterConfig. This |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 revision_getter = master_utils.ConditionalProperty( | 63 revision_getter = master_utils.ConditionalProperty( |
| 64 lambda build: build.getProperty('revision'), | 64 lambda build: build.getProperty('revision'), |
| 65 WithProperties('%(revision)s'), | 65 WithProperties('%(revision)s'), |
| 66 'master') | 66 'master') |
| 67 | 67 |
| 68 | 68 |
| 69 def m_remote_run_chromium_src(recipe, **kwargs): | 69 def m_remote_run_chromium_src(recipe, **kwargs): |
| 70 kwargs.setdefault('revision', revision_getter) | 70 kwargs.setdefault('revision', revision_getter) |
| 71 return remote_run_factory.RemoteRunFactory( | 71 return remote_run_factory.RemoteRunFactory( |
| 72 active_master=ActiveMaster, | 72 active_master=ActiveMaster, |
| 73 repository='https://chromium.googlesource.com/chromium/src.git', | 73 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
| 74 recipe=recipe, | 74 recipe=recipe, |
| 75 factory_properties={'path_config': 'kitchen'}, | 75 factory_properties={'path_config': 'kitchen'}, |
| 76 use_gitiles=True, | 76 use_gitiles=True, |
| 77 **kwargs) | 77 **kwargs) |
| 78 | 78 |
| 79 | 79 |
| 80 # ------------------------------------------------------------------------------ | 80 # ------------------------------------------------------------------------------ |
| 81 # Change Sources. | 81 # Change Sources. |
| 82 | 82 |
| 83 # Polls config.Master.trunk_url for changes | 83 # Polls config.Master.trunk_url for changes |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 | 286 |
| 287 ####### PROJECT IDENTITY | 287 ####### PROJECT IDENTITY |
| 288 | 288 |
| 289 # the 'projectName' string will be used to describe the project that this | 289 # the 'projectName' string will be used to describe the project that this |
| 290 # buildbot is working on. For example, it is used as the title of the | 290 # buildbot is working on. For example, it is used as the title of the |
| 291 # waterfall HTML page. The 'projectURL' string will be used to provide a link | 291 # waterfall HTML page. The 'projectURL' string will be used to provide a link |
| 292 # from buildbot HTML pages to your project's home page. | 292 # from buildbot HTML pages to your project's home page. |
| 293 | 293 |
| 294 c['projectName'] = ActiveMaster.project_name | 294 c['projectName'] = ActiveMaster.project_name |
| 295 c['projectURL'] = config.Master.project_url | 295 c['projectURL'] = config.Master.project_url |
| OLD | NEW |