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

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

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: 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
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',
8 'recipe_engine/json', 7 'recipe_engine/json',
9 'recipe_engine/path', 8 'recipe_engine/path',
10 'recipe_engine/platform', 9 'recipe_engine/platform',
11 'recipe_engine/properties', 10 'recipe_engine/properties',
12 ] 11 ]
13 12
14 TEST_HASH_MAIN='5e3250aadda2b170692f8e762d43b7e8deadbeef' 13 TEST_HASH_MAIN='5e3250aadda2b170692f8e762d43b7e8deadbeef'
15 TEST_COMMIT_POSITON_MAIN='refs/heads/B1@{#123456}' 14 TEST_COMMIT_POSITON_MAIN='refs/heads/B1@{#123456}'
16 15
17 TEST_HASH_COMPONENT='deadbeefdda2b170692f8e762d43b7e8e7a96686' 16 TEST_HASH_COMPONENT='deadbeefdda2b170692f8e762d43b7e8e7a96686'
18 TEST_COMMIT_POSITON_COMPONENT='refs/heads/master@{#234}' 17 TEST_COMMIT_POSITON_COMPONENT='refs/heads/master@{#234}'
19 18
20 19
21 def RunSteps(api): 20 def RunSteps(api):
22 api.archive.clusterfuzz_archive( 21 api.archive.clusterfuzz_archive(
23 build_dir=api.infra_paths['slave_build'].join('src', 'out', 'Release'), 22 build_dir=api.path['slave_build'].join('src', 'out', 'Release'),
24 update_properties=api.properties.get('update_properties'), 23 update_properties=api.properties.get('update_properties'),
25 gs_bucket='chromium', 24 gs_bucket='chromium',
26 gs_acl=api.properties.get('gs_acl', ''), 25 gs_acl=api.properties.get('gs_acl', ''),
27 archive_prefix='chrome-asan', 26 archive_prefix='chrome-asan',
28 archive_subdir_suffix=api.properties.get('archive_subdir_suffix', ''), 27 archive_subdir_suffix=api.properties.get('archive_subdir_suffix', ''),
29 revision_dir=api.properties.get('revision_dir'), 28 revision_dir=api.properties.get('revision_dir'),
30 primary_project=api.properties.get('primary_project'), 29 primary_project=api.properties.get('primary_project'),
31 ) 30 )
32 31
33 32
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 api.test('cf_archiving_component_svn_with_git') + 105 api.test('cf_archiving_component_svn_with_git') +
107 api.platform('linux', 64) + 106 api.platform('linux', 64) +
108 api.properties( 107 api.properties(
109 update_properties=update_properties, 108 update_properties=update_properties,
110 revision_dir='x10', 109 revision_dir='x10',
111 primary_project='x10', 110 primary_project='x10',
112 ) + 111 ) +
113 api.override_step_data( 112 api.override_step_data(
114 'listdir build_dir', api.json.output(['chrome'])) 113 'listdir build_dir', api.json.output(['chrome']))
115 ) 114 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698