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

Side by Side Diff: scripts/slave/recipe_modules/legion/example.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 (c) 2014 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 """Specifies how to launch chromoting integration test on build_internal.""" 5 """Specifies how to launch chromoting integration test on build_internal."""
6 6
7 DEPS = [ 7 DEPS = [
8 'depot_tools/bot_update', 8 'depot_tools/bot_update',
9 'depot_tools/gclient', 9 'depot_tools/gclient',
10 'legion', 10 'legion',
11 'recipe_engine/properties', 11 'recipe_engine/properties',
12 ] 12 ]
13 13
14 14
15 def RunSteps(api): 15 def RunSteps(api):
16 api.gclient.set_config('chromium') 16 api.gclient.set_config('chromium')
17 api.bot_update.ensure_checkout(force=True) 17 api.bot_update.ensure_checkout()
18 18
19 controller = api.legion.create_controller( 19 controller = api.legion.create_controller(
20 name='Test Controller', 20 name='Test Controller',
21 path='controller_path.isolate', 21 path='controller_path.isolate',
22 os='Linux', 22 os='Linux',
23 config_vars={'cfg_name': 'cfg_value'}, 23 config_vars={'cfg_name': 'cfg_value'},
24 controller_vars={'cont_name': 'cont_value'}, 24 controller_vars={'cont_name': 'cont_value'},
25 dimensions={'dim_name': 'dim_value'}, 25 dimensions={'dim_name': 'dim_value'},
26 ) 26 )
27 27
28 api.legion.add_task_to_controller( 28 api.legion.add_task_to_controller(
29 controller=controller, 29 controller=controller,
30 name='Task', 30 name='Task',
31 path='task_path.isolated', 31 path='task_path.isolated',
32 config_vars={'cfg_name': 'cfg_value'} 32 config_vars={'cfg_name': 'cfg_value'}
33 ) 33 )
34 34
35 api.legion.execute(controller) 35 api.legion.execute(controller)
36 36
37 37
38 def GenTests(api): 38 def GenTests(api):
39 yield api.test('basic') + api.properties.generic() 39 yield api.test('basic') + api.properties.generic()
40 40
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698