| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 | 4 |
| 5 def GetFactoryProperties(api, factory_properties, build_properties): | 5 def GetFactoryProperties(api, factory_properties, build_properties): |
| 6 # TODO(iannucci): Pass the build repo info directly via build_properties | 6 # TODO(iannucci): Pass the build repo info directly via build_properties |
| 7 repo_name = factory_properties.get('repo_name') | 7 repo_name = factory_properties.get('repo_name') |
| 8 steps = api.Steps(build_properties) | 8 steps = api.Steps(build_properties) |
| 9 | 9 |
| 10 spec = steps.gclient_common_spec(repo_name) | 10 spec = steps.gclient_common_spec(repo_name) |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 return { | 21 return { |
| 22 'checkout': 'gclient', | 22 'checkout': 'gclient', |
| 23 'gclient_spec': spec, | 23 'gclient_spec': spec, |
| 24 'steps': git_steps + [ | 24 'steps': git_steps + [ |
| 25 steps.apply_issue_step(), | 25 steps.apply_issue_step(), |
| 26 steps.step('presubmit', [ | 26 steps.step('presubmit', [ |
| 27 api.depot_tools_path('presubmit_support.py'), | 27 api.depot_tools_path('presubmit_support.py'), |
| 28 '--root', api.checkout_path(), | 28 '--root', api.checkout_path(), |
| 29 '--commit', | 29 '--commit', |
| 30 '--verbose', '--verbose', | 30 '--verbose', '--verbose', |
| 31 '--author', build_properties['blamelist'][0], | |
| 32 '--issue', build_properties['issue'], | 31 '--issue', build_properties['issue'], |
| 33 '--patchset', build_properties['patchset'], | 32 '--patchset', build_properties['patchset'], |
| 34 '--skip_canned', 'CheckRietveldTryJobExecution', | 33 '--skip_canned', 'CheckRietveldTryJobExecution', |
| 35 '--skip_canned', 'CheckTreeIsOpen', | 34 '--skip_canned', 'CheckTreeIsOpen', |
| 36 '--skip_canned', 'CheckBuildbotPendingBuilds', | 35 '--skip_canned', 'CheckBuildbotPendingBuilds', |
| 37 '--skip_canned', 'CheckOwners', | 36 '--skip_canned', 'CheckOwners', |
| 38 '--rietveld_url', build_properties['rietveld']]) | 37 '--rietveld_url', build_properties['rietveld'], |
| 38 '--rietveld_fetch']) |
| 39 ] | 39 ] |
| 40 } | 40 } |
| OLD | NEW |