| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2015 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 import os | 10 import os |
| 11 import socket | 11 import socket |
| 12 | 12 |
| 13 # These modules come from scripts, which must be in the PYTHONPATH. | 13 # These modules come from scripts, which must be in the PYTHONPATH. |
| 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.factory import remote_run_factory | 16 from master.factory import remote_run_factory |
| 17 from master.try_job_gerrit import TryJobGerritScheduler | 17 from master.try_job_gerrit import TryJobGerritScheduler |
| 18 from master.try_job_gerrit import TryJobGerritStatus | 18 from master.try_job_gerrit import TryJobGerritStatus |
| 19 | 19 |
| 20 import config | 20 import config |
| 21 import master_site_config | 21 import master_site_config |
| 22 | 22 |
| 23 ActiveMaster = master_site_config.TryServerANGLE | 23 ActiveMaster = master_site_config.TryServerANGLE |
| 24 | 24 |
| 25 def m_remote_run_chromium_src(recipe, **kwargs): | 25 def m_remote_run_chromium_src(recipe, **kwargs): |
| 26 return remote_run_factory.RemoteRunFactory( | 26 return remote_run_factory.RemoteRunFactory( |
| 27 active_master=ActiveMaster, | 27 active_master=ActiveMaster, |
| 28 repository='https://chromium.googlesource.com/chromium/src.git', | 28 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
| 29 recipe=recipe, | 29 recipe=recipe, |
| 30 factory_properties={'path_config': 'kitchen'}, | 30 factory_properties={'path_config': 'kitchen'}, |
| 31 use_gitiles=True, | 31 use_gitiles=True, |
| 32 **kwargs) | 32 **kwargs) |
| 33 | 33 |
| 34 # This is the dictionary that the buildmaster pays attention to. We also use | 34 # This is the dictionary that the buildmaster pays attention to. We also use |
| 35 # a shorter alias to save typing. | 35 # a shorter alias to save typing. |
| 36 c = BuildmasterConfig = {} | 36 c = BuildmasterConfig = {} |
| 37 | 37 |
| 38 # Disable merge requests because this is a tryserver | 38 # Disable merge requests because this is a tryserver |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 c['logCompressionLimit'] = False | 184 c['logCompressionLimit'] = False |
| 185 | 185 |
| 186 # Adjust the buildCaches to be 3x the number of slaves per builder. | 186 # Adjust the buildCaches to be 3x the number of slaves per builder. |
| 187 c['autoBuildCacheRatio'] = 3 | 187 c['autoBuildCacheRatio'] = 3 |
| 188 | 188 |
| 189 ####### PROJECT IDENTITY | 189 ####### PROJECT IDENTITY |
| 190 | 190 |
| 191 # The 'projectURL' string will be used to provide a link | 191 # The 'projectURL' string will be used to provide a link |
| 192 # from buildbot HTML pages to your project's home page. | 192 # from buildbot HTML pages to your project's home page. |
| 193 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 193 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| OLD | NEW |