| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2012 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 # It has one job: define a dictionary named BuildmasterConfig. This | 8 # It has one job: define a dictionary named BuildmasterConfig. This |
| 9 # dictionary has a variety of keys to control different aspects of the | 9 # dictionary has a variety of keys to control different aspects of the |
| 10 # buildmaster. They are documented in docs/config.xhtml . | 10 # buildmaster. They are documented in docs/config.xhtml . |
| 11 | 11 |
| 12 from buildbot import locks | 12 from buildbot import locks |
| 13 from buildbot.scheduler import Dependent | 13 from buildbot.scheduler import Dependent |
| 14 from buildbot.scheduler import Scheduler | 14 from buildbot.scheduler import Scheduler |
| 15 from buildbot.scheduler import Periodic | 15 from buildbot.scheduler import Periodic |
| 16 from buildbot.schedulers import triggerable | 16 from buildbot.schedulers import triggerable |
| 17 from buildbot.steps import trigger | 17 from buildbot.steps import trigger |
| 18 | 18 |
| 19 from common import chromium_utils | 19 from common import chromium_utils |
| 20 from master import build_utils | 20 from master import build_utils |
| 21 from master import chromium_step | 21 from master import chromium_step |
| 22 from master import master_utils | 22 from master import master_utils |
| 23 from master import slaves_list | 23 from master import slaves_list |
| 24 from master.factory import gclient_factory | 24 from master.factory import gclient_factory |
| 25 from master.factory import dart_factory | 25 from master.factory import dart_factory |
| 26 from master.factory.dart_factory import linux_env, linux_clang_env, windows_env | 26 from master.factory.dart_factory import linux_env, linux_clang_env, windows_env |
| 27 | 27 |
| 28 import config | 28 import config |
| 29 ActiveMaster = config.Master.DartFYI | 29 import master_site_config |
| 30 ActiveMaster = master_site_config.DartFYI |
| 30 utils = dart_factory.DartUtils(ActiveMaster) | 31 utils = dart_factory.DartUtils(ActiveMaster) |
| 31 | 32 |
| 32 # Hack to increase timeout for steps, dart2js debug checked mode takes more | 33 # Hack to increase timeout for steps, dart2js debug checked mode takes more |
| 33 # than 8 hours. | 34 # than 8 hours. |
| 34 utils.monkey_patch_remoteshell() | 35 utils.monkey_patch_remoteshell() |
| 35 | 36 |
| 36 MASTER_HOST = ActiveMaster.master_host | 37 MASTER_HOST = ActiveMaster.master_host |
| 37 WEB_STATUS = True | 38 WEB_STATUS = True |
| 38 MAIL_NOTIFIER = ActiveMaster.is_production_host | 39 MAIL_NOTIFIER = ActiveMaster.is_production_host |
| 39 | 40 |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 c['projectName'] = ActiveMaster.project_name | 370 c['projectName'] = ActiveMaster.project_name |
| 370 c['projectURL'] = config.Master.project_url | 371 c['projectURL'] = config.Master.project_url |
| 371 | 372 |
| 372 # the 'buildbotURL' string should point to the location where the buildbot's | 373 # the 'buildbotURL' string should point to the location where the buildbot's |
| 373 # internal web server (usually the html.Waterfall page) is visible. This | 374 # internal web server (usually the html.Waterfall page) is visible. This |
| 374 # typically uses the port number set in the Waterfall 'status' entry, but | 375 # typically uses the port number set in the Waterfall 'status' entry, but |
| 375 # with an externally-visible host name which the buildbot cannot figure out | 376 # with an externally-visible host name which the buildbot cannot figure out |
| 376 # without some help. | 377 # without some help. |
| 377 | 378 |
| 378 c['buildbotURL'] = 'http://build.chromium.org/p/client.dart.fyi/' | 379 c['buildbotURL'] = 'http://build.chromium.org/p/client.dart.fyi/' |
| OLD | NEW |