| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright 2013 The Chromium Authors. All rights reserved. | 4 # Copyright 2013 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 from buildbot.changes.filter import ChangeFilter | 8 from buildbot.changes.filter import ChangeFilter |
| 9 from buildbot.scheduler import Nightly | 9 from buildbot.scheduler import Nightly |
| 10 from buildbot.schedulers.basic import AnyBranchScheduler | 10 from buildbot.schedulers.basic import AnyBranchScheduler |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 MAIL_NOTIFIER = ActiveMaster.is_production_host | 35 MAIL_NOTIFIER = ActiveMaster.is_production_host |
| 36 | 36 |
| 37 # This is the dictionary that the buildmaster pays attention to. We also use | 37 # This is the dictionary that the buildmaster pays attention to. We also use |
| 38 # a shorter alias to save typing. | 38 # a shorter alias to save typing. |
| 39 c = BuildmasterConfig = {} | 39 c = BuildmasterConfig = {} |
| 40 c['status'] = [] | 40 c['status'] = [] |
| 41 | 41 |
| 42 | 42 |
| 43 ####### DATABASE | 43 ####### DATABASE |
| 44 | 44 |
| 45 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 45 config.DatabaseSetup(c) |
| 46 | 46 |
| 47 ####### CHANGESOURCES | 47 ####### CHANGESOURCES |
| 48 | 48 |
| 49 comparator = gitiles_poller.GitilesRevisionComparator() | 49 comparator = gitiles_poller.GitilesRevisionComparator() |
| 50 c['change_source'] = [ | 50 c['change_source'] = [ |
| 51 gitiles_poller.GitilesPoller( | 51 gitiles_poller.GitilesPoller( |
| 52 'https://chromium.googlesource.com/v8/v8', | 52 'https://chromium.googlesource.com/v8/v8', |
| 53 branches=[re.compile(r'refs/branch\-heads/\d+\.\d+')], | 53 branches=[re.compile(r'refs/branch\-heads/\d+\.\d+')], |
| 54 pollInterval=10, | 54 pollInterval=10, |
| 55 category='release', | 55 category='release', |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 import mail_notifier_cfg | 386 import mail_notifier_cfg |
| 387 mail_notifier_cfg.Update(config, ActiveMaster, c) | 387 mail_notifier_cfg.Update(config, ActiveMaster, c) |
| 388 | 388 |
| 389 # Adjust the buildCaches to be 3x the number of slaves per builder. | 389 # Adjust the buildCaches to be 3x the number of slaves per builder. |
| 390 c['autoBuildCacheRatio'] = 3 | 390 c['autoBuildCacheRatio'] = 3 |
| 391 | 391 |
| 392 ####### PROJECT IDENTITY | 392 ####### PROJECT IDENTITY |
| 393 | 393 |
| 394 c['projectName'] = ActiveMaster.project_name | 394 c['projectName'] = ActiveMaster.project_name |
| 395 c['projectURL'] = config.Master.project_url | 395 c['projectURL'] = config.Master.project_url |
| OLD | NEW |