| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2013 The Chromium Authors. All rights reserved. | 2 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import os | 6 import os |
| 7 | 7 |
| 8 from common import chromium_utils | 8 from common import chromium_utils |
| 9 | 9 |
| 10 from master import master_utils | 10 from master import master_utils |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 if LISTEN_TO_RIETVELD: | 173 if LISTEN_TO_RIETVELD: |
| 174 from master.try_job_rietveld import TryJobRietveld | 174 from master.try_job_rietveld import TryJobRietveld |
| 175 c['schedulers'].append(TryJobRietveld( | 175 c['schedulers'].append(TryJobRietveld( |
| 176 name='v8_try_job_rietveld', | 176 name='v8_try_job_rietveld', |
| 177 last_good_urls=last_good_urls, | 177 last_good_urls=last_good_urls, |
| 178 code_review_sites=code_review_sites, | 178 code_review_sites=code_review_sites, |
| 179 pools=pools, | 179 pools=pools, |
| 180 filter_master=True, | 180 filter_master=True, |
| 181 project='v8', | 181 project='v8', |
| 182 cachepath=os.path.join(os.getcwd(), 'try_job_rietveld_cache.json'), | 182 cachepath=os.path.join(os.getcwd(), 'try_job_rietveld_cache.json'))) |
| 183 cache_processed_jobs=True)) | |
| 184 | 183 |
| 185 if LISTEN_TO_SVN: | 184 if LISTEN_TO_SVN: |
| 186 from master.try_job_svn import TryJobSubversion | 185 from master.try_job_svn import TryJobSubversion |
| 187 c['schedulers'].append(TryJobSubversion( | 186 c['schedulers'].append(TryJobSubversion( |
| 188 name='v8_try_job_svn', | 187 name='v8_try_job_svn', |
| 189 svn_url=ActiveMaster.svn_url, | 188 svn_url=ActiveMaster.svn_url, |
| 190 last_good_urls=last_good_urls, | 189 last_good_urls=last_good_urls, |
| 191 code_review_sites=code_review_sites, | 190 code_review_sites=code_review_sites, |
| 192 pools=pools)) | 191 pools=pools)) |
| 193 | 192 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 c['logHorizon'] = 2000 | 233 c['logHorizon'] = 2000 |
| 235 # Must be at least 2x the number of slaves. | 234 # Must be at least 2x the number of slaves. |
| 236 c['eventHorizon'] = 60 | 235 c['eventHorizon'] = 60 |
| 237 # Must be at least 2x the number of on-going builds. | 236 # Must be at least 2x the number of on-going builds. |
| 238 c['buildCacheSize'] = 60 | 237 c['buildCacheSize'] = 60 |
| 239 | 238 |
| 240 ####### PROJECT IDENTITY | 239 ####### PROJECT IDENTITY |
| 241 | 240 |
| 242 c['projectName'] = ActiveMaster.project_name | 241 c['projectName'] = ActiveMaster.project_name |
| 243 c['projectURL'] = config.Master.project_url | 242 c['projectURL'] = config.Master.project_url |
| OLD | NEW |