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

Side by Side Diff: scripts/slave/recipes/v8/auto_roll_v8rel.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 'depot_tools/bot_update', 6 'depot_tools/bot_update',
7 'depot_tools/infra_paths',
7 'chromium', 8 'chromium',
8 'depot_tools/gclient', 9 'depot_tools/gclient',
9 'depot_tools/git', 10 'depot_tools/git',
10 'gsutil', 11 'gsutil',
11 'recipe_engine/json', 12 'recipe_engine/json',
12 'recipe_engine/path', 13 'recipe_engine/path',
13 'recipe_engine/properties', 14 'recipe_engine/properties',
14 'recipe_engine/step', 15 'recipe_engine/step',
15 'v8', 16 'v8',
16 ] 17 ]
17 18
18 def RunSteps(api): 19 def RunSteps(api):
19 api.chromium.cleanup_temp() 20 api.chromium.cleanup_temp()
20 api.gclient.set_config('chromium') 21 api.gclient.set_config('chromium')
21 api.gclient.apply_config('v8') 22 api.gclient.apply_config('v8')
22 api.bot_update.ensure_checkout( 23 api.bot_update.ensure_checkout(
23 force=True, no_shallow=True, with_branch_heads=True) 24 force=True, no_shallow=True, with_branch_heads=True)
24 api.step( 25 api.step(
25 'V8Releases', 26 'V8Releases',
26 [api.path['slave_build'].join( 27 [api.infra_paths['slave_build'].join(
27 'v8', 'tools', 'release', 'releases.py'), 28 'v8', 'tools', 'release', 'releases.py'),
28 '-c', api.path['checkout'], 29 '-c', api.path['checkout'],
29 '--json', api.path['slave_build'].join('v8-releases-update.json'), 30 '--json', api.infra_paths['slave_build'].join('v8-releases-update.json'),
30 '--branch', 'recent', 31 '--branch', 'recent',
31 '--work-dir', api.path['slave_build'].join('workdir')], 32 '--work-dir', api.infra_paths['slave_build'].join('workdir')],
32 cwd=api.path['slave_build'].join('v8'), 33 cwd=api.infra_paths['slave_build'].join('v8'),
33 ) 34 )
34 api.gsutil.upload(api.path['slave_build'].join('v8-releases-update.json'), 35 api.gsutil.upload(api.infra_paths['slave_build'].join('v8-releases-update.json '),
35 'chromium-v8-auto-roll', 36 'chromium-v8-auto-roll',
36 api.path.join('v8rel', 'v8-releases-update.json')) 37 api.path.join('v8rel', 'v8-releases-update.json'))
37 38
38 39
39 def GenTests(api): 40 def GenTests(api):
40 yield api.test('standard') + api.properties.generic( 41 yield api.test('standard') + api.properties.generic(
41 mastername='client.v8.fyi') 42 mastername='client.v8.fyi')
42 43
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698