Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Side by Side Diff: scripts/slave/recipe_modules/archive/example.py

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698