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

Side by Side Diff: scripts/slave/recipes/v8/auto_roll_push.py

Issue 2319853002: Remove ignored bot_update "force" parameter. (Closed)
Patch Set: rebase Created 4 years, 3 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 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 'chromium', 7 'chromium',
8 'depot_tools/gclient', 8 'depot_tools/gclient',
9 'recipe_engine/path', 9 'recipe_engine/path',
10 'recipe_engine/properties', 10 'recipe_engine/properties',
11 'recipe_engine/python', 11 'recipe_engine/python',
12 'recipe_engine/raw_io', 12 'recipe_engine/raw_io',
13 'recipe_engine/step', 13 'recipe_engine/step',
14 'v8', 14 'v8',
15 ] 15 ]
16 16
17 def RunSteps(api): 17 def RunSteps(api):
18 api.chromium.cleanup_temp() 18 api.chromium.cleanup_temp()
19 api.gclient.set_config('v8') 19 api.gclient.set_config('v8')
20 api.bot_update.ensure_checkout(force=True, no_shallow=True) 20 api.bot_update.ensure_checkout(no_shallow=True)
21 21
22 step_result = api.python( 22 step_result = api.python(
23 'check roll status', 23 'check roll status',
24 api.path['build'].join('scripts', 'tools', 'runit.py'), 24 api.path['build'].join('scripts', 'tools', 'runit.py'),
25 [api.path['build'].join('scripts', 'tools', 'pycurl.py'), 25 [api.path['build'].join('scripts', 'tools', 'pycurl.py'),
26 'https://v8-roll.appspot.com/status'], 26 'https://v8-roll.appspot.com/status'],
27 stdout=api.raw_io.output(), 27 stdout=api.raw_io.output(),
28 step_test_data=lambda: api.raw_io.test_api.stream_output( 28 step_test_data=lambda: api.raw_io.test_api.stream_output(
29 '1', stream='stdout') 29 '1', stream='stdout')
30 ) 30 )
(...skipping 18 matching lines...) Expand all
49 49
50 def GenTests(api): 50 def GenTests(api):
51 yield api.test('standard') + api.properties.generic( 51 yield api.test('standard') + api.properties.generic(
52 mastername='client.v8.fyi') 52 mastername='client.v8.fyi')
53 yield (api.test('rolling_deactivated') + 53 yield (api.test('rolling_deactivated') +
54 api.properties.generic(mastername='client.v8.fyi') + 54 api.properties.generic(mastername='client.v8.fyi') +
55 api.override_step_data( 55 api.override_step_data(
56 'check roll status', api.raw_io.stream_output('0', stream='stdout')) 56 'check roll status', api.raw_io.stream_output('0', stream='stdout'))
57 ) 57 )
58 58
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698