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