| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # READ THIS: | 7 # READ THIS: |
| 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure | 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure |
| 9 | 9 |
| 10 from buildbot.scheduler import Triggerable | 10 from buildbot.scheduler import Triggerable |
| 11 | 11 |
| 12 # These modules come from scripts, which must be in the PYTHONPATH. | 12 # These modules come from scripts, which must be in the PYTHONPATH. |
| 13 from master import master_config | 13 from master import master_config |
| 14 from master import master_utils | 14 from master import master_utils |
| 15 from master import slaves_list | 15 from master import slaves_list |
| 16 from master.builders_pools import BuildersPools | 16 from master.builders_pools import BuildersPools |
| 17 from master.factory import annotator_factory | 17 from master.factory import annotator_factory |
| 18 from master.factory import chromeos_factory | 18 from master.factory import chromeos_factory |
| 19 from master.factory import chromium_factory | 19 from master.factory import chromium_factory |
| 20 from master.factory import swarm_factory | 20 from master.factory import swarm_factory |
| 21 from master.try_job_http import TryJobHTTP | 21 from master.try_job_http import TryJobHTTP |
| 22 from master.try_job_rietveld import TryJobRietveld | 22 from master.try_job_rietveld import TryJobRietveld |
| 23 from master.try_job_svn import TryJobSubversion | 23 from master.try_job_svn import TryJobSubversion |
| 24 | 24 |
| 25 import config | 25 import config |
| 26 import master_site_config |
| 26 | 27 |
| 27 ActiveMaster = config.Master.TryServer | 28 ActiveMaster = master_site_config.TryServer |
| 28 | 29 |
| 29 | 30 |
| 30 MAIL_NOTIFIER = True | 31 MAIL_NOTIFIER = True |
| 31 UPDATE_CODEREVIEW = ActiveMaster.is_production_host | 32 UPDATE_CODEREVIEW = ActiveMaster.is_production_host |
| 32 LISTEN_TO_SVN = ActiveMaster.svn_url and ActiveMaster.is_production_host | 33 LISTEN_TO_SVN = ActiveMaster.svn_url and ActiveMaster.is_production_host |
| 33 | 34 |
| 34 # This is the dictionary that the buildmaster pays attention to. We also use | 35 # This is the dictionary that the buildmaster pays attention to. We also use |
| 35 # a shorter alias to save typing. | 36 # a shorter alias to save typing. |
| 36 c = BuildmasterConfig = {} | 37 c = BuildmasterConfig = {} |
| 37 | 38 |
| (...skipping 2042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2080 ####### PROJECT IDENTITY | 2081 ####### PROJECT IDENTITY |
| 2081 | 2082 |
| 2082 # The 'projectURL' string will be used to provide a link | 2083 # The 'projectURL' string will be used to provide a link |
| 2083 # from buildbot HTML pages to your project's home page. | 2084 # from buildbot HTML pages to your project's home page. |
| 2084 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 2085 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| 2085 | 2086 |
| 2086 # Buildbot master url: | 2087 # Buildbot master url: |
| 2087 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' | 2088 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' |
| 2088 | 2089 |
| 2089 # vi: set ts=4 sts=2 sw=2 et: | 2090 # vi: set ts=4 sts=2 sw=2 et: |
| OLD | NEW |