| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 # vim: set ft=python: | 4 # vim: set ft=python: |
| 5 | 5 |
| 6 from buildbot.process.properties import WithProperties | 6 from buildbot.process.properties import WithProperties |
| 7 from buildbot.scheduler import Dependent | 7 from buildbot.scheduler import Dependent |
| 8 | 8 |
| 9 from common import chromium_utils | 9 from common import chromium_utils |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 'master') | 68 'master') |
| 69 | 69 |
| 70 def m_remote_run_chromium_src(recipe, factory_properties=None, **kwargs): | 70 def m_remote_run_chromium_src(recipe, factory_properties=None, **kwargs): |
| 71 if not factory_properties: | 71 if not factory_properties: |
| 72 factory_properties = {} | 72 factory_properties = {} |
| 73 if not factory_properties.get('path_config'): | 73 if not factory_properties.get('path_config'): |
| 74 factory_properties['path_config'] = 'kitchen' | 74 factory_properties['path_config'] = 'kitchen' |
| 75 kwargs.setdefault('revision', revision_getter) | 75 kwargs.setdefault('revision', revision_getter) |
| 76 return remote_run_factory.RemoteRunFactory( | 76 return remote_run_factory.RemoteRunFactory( |
| 77 active_master=ActiveMaster, | 77 active_master=ActiveMaster, |
| 78 repository='https://chromium.googlesource.com/chromium/src.git', | 78 repository='https://chromium.googlesource.com/chromium/tools/build.git', |
| 79 recipe=recipe, | 79 recipe=recipe, |
| 80 factory_properties=factory_properties, | 80 factory_properties=factory_properties, |
| 81 use_gitiles=True, | 81 use_gitiles=True, |
| 82 **kwargs) | 82 **kwargs) |
| 83 | 83 |
| 84 # ---------------------------------------------------------------------------- | 84 # ---------------------------------------------------------------------------- |
| 85 # BUILDER DEFINITIONS | 85 # BUILDER DEFINITIONS |
| 86 | 86 |
| 87 recipe_master_helper.AddRemoteRunBuilders( | 87 recipe_master_helper.AddRemoteRunBuilders( |
| 88 c, slaves, m_remote_run_chromium_src, trigger_name_map) | 88 c, slaves, m_remote_run_chromium_src, trigger_name_map) |
| (...skipping 18 matching lines...) Expand all Loading... |
| 107 # Buildbot master url: | 107 # Buildbot master url: |
| 108 # Must come before AutoSetupMaster(). | 108 # Must come before AutoSetupMaster(). |
| 109 c['buildbotURL'] = ActiveMaster.buildbot_url | 109 c['buildbotURL'] = ActiveMaster.buildbot_url |
| 110 | 110 |
| 111 # Adds common status and tools to this master. | 111 # Adds common status and tools to this master. |
| 112 master_utils.AutoSetupMaster(c, ActiveMaster, | 112 master_utils.AutoSetupMaster(c, ActiveMaster, |
| 113 public_html='../master.chromium/public_html', | 113 public_html='../master.chromium/public_html', |
| 114 templates=['../master.chromium/templates'], | 114 templates=['../master.chromium/templates'], |
| 115 tagComparator=master_poller.comparator, | 115 tagComparator=master_poller.comparator, |
| 116 enable_http_status_push=ActiveMaster.is_production_host) | 116 enable_http_status_push=ActiveMaster.is_production_host) |
| OLD | NEW |