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

Side by Side Diff: scripts/slave/recipes/catapult_cron.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 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 'chromium', 6 'chromium',
7 'depot_tools/bot_update', 7 'depot_tools/bot_update',
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 ] 12 ]
13 13
14 14
15 def _CheckoutSteps(api, buildername): 15 def _CheckoutSteps(api, buildername):
16 """Checks out the catapult repo (and any dependencies) using gclient.""" 16 """Checks out the catapult repo (and any dependencies) using gclient."""
17 api.gclient.set_config('catapult') 17 api.gclient.set_config('catapult')
18 api.bot_update.ensure_checkout(force=True) 18 api.bot_update.ensure_checkout()
19 api.gclient.runhooks() 19 api.gclient.runhooks()
20 20
21 21
22 def RunSteps(api): 22 def RunSteps(api):
23 buildername = api.properties.get('buildername') 23 buildername = api.properties.get('buildername')
24 _CheckoutSteps(api, buildername) 24 _CheckoutSteps(api, buildername)
25 25
26 api.python('chromium.perf success rates', 26 api.python('chromium.perf success rates',
27 api.path['checkout'].join('catapult_base', 'catapult_base', 27 api.path['checkout'].join('catapult_base', 'catapult_base',
28 'perfbot_stats', 'chrome_perf_stats.py')) 28 'perfbot_stats', 'chrome_perf_stats.py'))
29 29
30 30
31 def GenTests(api): 31 def GenTests(api):
32 yield ( 32 yield (
33 api.test('basic') + 33 api.test('basic') +
34 api.properties(mastername='master.client.catapult', 34 api.properties(mastername='master.client.catapult',
35 buildername='linux', 35 buildername='linux',
36 slavename='linux_slave') 36 slavename='linux_slave')
37 ) 37 )
OLDNEW
« no previous file with comments | « scripts/slave/recipes/catapult.expected/basic.json ('k') | scripts/slave/recipes/catapult_cron.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698