OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 DEPS = [ | 5 DEPS = [ |
6 'archive', | 6 'archive', |
| 7 'depot_tools/infra_paths', |
7 'recipe_engine/json', | 8 'recipe_engine/json', |
8 'recipe_engine/path', | 9 'recipe_engine/path', |
9 'recipe_engine/platform', | 10 'recipe_engine/platform', |
10 'recipe_engine/properties', | 11 'recipe_engine/properties', |
11 ] | 12 ] |
12 | 13 |
13 TEST_HASH_MAIN='5e3250aadda2b170692f8e762d43b7e8deadbeef' | 14 TEST_HASH_MAIN='5e3250aadda2b170692f8e762d43b7e8deadbeef' |
14 TEST_COMMIT_POSITON_MAIN='refs/heads/B1@{#123456}' | 15 TEST_COMMIT_POSITON_MAIN='refs/heads/B1@{#123456}' |
15 | 16 |
16 TEST_HASH_COMPONENT='deadbeefdda2b170692f8e762d43b7e8e7a96686' | 17 TEST_HASH_COMPONENT='deadbeefdda2b170692f8e762d43b7e8e7a96686' |
17 TEST_COMMIT_POSITON_COMPONENT='refs/heads/master@{#234}' | 18 TEST_COMMIT_POSITON_COMPONENT='refs/heads/master@{#234}' |
18 | 19 |
19 | 20 |
20 def RunSteps(api): | 21 def RunSteps(api): |
21 api.archive.clusterfuzz_archive( | 22 api.archive.clusterfuzz_archive( |
22 build_dir=api.path['slave_build'].join('src', 'out', 'Release'), | 23 build_dir=api.infra_paths['slave_build'].join('src', 'out', 'Release'), |
23 update_properties=api.properties.get('update_properties'), | 24 update_properties=api.properties.get('update_properties'), |
24 gs_bucket='chromium', | 25 gs_bucket='chromium', |
25 gs_acl=api.properties.get('gs_acl', ''), | 26 gs_acl=api.properties.get('gs_acl', ''), |
26 archive_prefix='chrome-asan', | 27 archive_prefix='chrome-asan', |
27 archive_subdir_suffix=api.properties.get('archive_subdir_suffix', ''), | 28 archive_subdir_suffix=api.properties.get('archive_subdir_suffix', ''), |
28 revision_dir=api.properties.get('revision_dir'), | 29 revision_dir=api.properties.get('revision_dir'), |
29 primary_project=api.properties.get('primary_project'), | 30 primary_project=api.properties.get('primary_project'), |
30 ) | 31 ) |
31 | 32 |
32 | 33 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 api.test('cf_archiving_component_svn_with_git') + | 106 api.test('cf_archiving_component_svn_with_git') + |
106 api.platform('linux', 64) + | 107 api.platform('linux', 64) + |
107 api.properties( | 108 api.properties( |
108 update_properties=update_properties, | 109 update_properties=update_properties, |
109 revision_dir='x10', | 110 revision_dir='x10', |
110 primary_project='x10', | 111 primary_project='x10', |
111 ) + | 112 ) + |
112 api.override_step_data( | 113 api.override_step_data( |
113 'listdir build_dir', api.json.output(['chrome'])) | 114 'listdir build_dir', api.json.output(['chrome'])) |
114 ) | 115 ) |
OLD | NEW |