| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 # with an externally-visible host name which the buildbot cannot figure out | 224 # with an externally-visible host name which the buildbot cannot figure out |
| 225 # without some help. | 225 # without some help. |
| 226 | 226 |
| 227 #Must come before AutoSetupMaster(). | 227 #Must come before AutoSetupMaster(). |
| 228 c['buildbotURL'] = ActiveMaster.buildbot_url | 228 c['buildbotURL'] = ActiveMaster.buildbot_url |
| 229 | 229 |
| 230 # Adds common status and tools to this master. | 230 # Adds common status and tools to this master. |
| 231 master_utils.AutoSetupMaster(c, ActiveMaster, | 231 master_utils.AutoSetupMaster(c, ActiveMaster, |
| 232 public_html='../master.chromium/public_html', | 232 public_html='../master.chromium/public_html', |
| 233 templates=['./templates', '../master.chromium/templates'], | 233 templates=['./templates', '../master.chromium/templates'], |
| 234 enable_http_status_push=ActiveMaster.is_production_host, | 234 tagComparator=master_poller.comparator, |
| 235 order_console_by_time=True) | 235 enable_http_status_push=ActiveMaster.is_production_host) |
| 236 | 236 |
| 237 # Add more. | 237 # Add more. |
| 238 | 238 |
| 239 if MAIL_NOTIFIER: | 239 if MAIL_NOTIFIER: |
| 240 c['status'].append(chromium_notifier.ChromiumNotifier( | 240 c['status'].append(chromium_notifier.ChromiumNotifier( |
| 241 fromaddr=ActiveMaster.from_address, | 241 fromaddr=ActiveMaster.from_address, |
| 242 exclusions={}, | 242 exclusions={}, |
| 243 relayhost=config.Master.smtp, | 243 relayhost=config.Master.smtp, |
| 244 status_header='FYI Perf alert on "%(builder)s":\n%(steps)s', | 244 status_header='FYI Perf alert on "%(builder)s":\n%(steps)s', |
| 245 subject='%(projectName)s %(builder)s %(result)s', | 245 subject='%(projectName)s %(builder)s %(result)s', |
| 246 extraRecipients=[], | 246 extraRecipients=[], |
| 247 lookup=master_utils.FilterDomain(), | 247 lookup=master_utils.FilterDomain(), |
| 248 sheriffs=[''], | 248 sheriffs=[''], |
| 249 public_html='../master.chromium/public_html', | 249 public_html='../master.chromium/public_html', |
| 250 forgiving_steps=[], | 250 forgiving_steps=[], |
| 251 use_getname=True)) | 251 use_getname=True)) |
| 252 | 252 |
| 253 ####### PROJECT IDENTITY | 253 ####### PROJECT IDENTITY |
| 254 | 254 |
| 255 # the 'projectName' string will be used to describe the project that this | 255 # the 'projectName' string will be used to describe the project that this |
| 256 # buildbot is working on. For example, it is used as the title of the | 256 # buildbot is working on. For example, it is used as the title of the |
| 257 # waterfall HTML page. The 'projectURL' string will be used to provide a link | 257 # waterfall HTML page. The 'projectURL' string will be used to provide a link |
| 258 # from buildbot HTML pages to your project's home page. | 258 # from buildbot HTML pages to your project's home page. |
| 259 | 259 |
| 260 c['projectName'] = ActiveMaster.project_name | 260 c['projectName'] = ActiveMaster.project_name |
| 261 c['projectURL'] = config.Master.project_url | 261 c['projectURL'] = config.Master.project_url |
| OLD | NEW |