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

Side by Side Diff: scripts/slave/recipe_modules/chromedriver/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
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromedriver/example.expected/Android_ChromeDriver_basic.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 from recipe_engine import recipe_api 5 from recipe_engine import recipe_api
6 from recipe_engine.types import freeze 6 from recipe_engine.types import freeze
7 7
8 DEPS = [ 8 DEPS = [
9 'archive', 9 'archive',
10 'chromedriver', 10 'chromedriver',
(...skipping 24 matching lines...) Expand all
35 }) 35 })
36 36
37 def RunSteps(api): 37 def RunSteps(api):
38 buildername = api.properties['buildername'] 38 buildername = api.properties['buildername']
39 builder = BUILDERS[buildername] 39 builder = BUILDERS[buildername]
40 android_packages = builder.get('android_packages') 40 android_packages = builder.get('android_packages')
41 update_test_log = builder.get('update_test_log') 41 update_test_log = builder.get('update_test_log')
42 42
43 api.chromium.set_config('chromium') 43 api.chromium.set_config('chromium')
44 api.gclient.set_config('chromium') 44 api.gclient.set_config('chromium')
45 api.bot_update.ensure_checkout(force=True) 45 api.bot_update.ensure_checkout()
46 platform = builder.get('chromedriver_platform') 46 platform = builder.get('chromedriver_platform')
47 47
48 commit_position = api.commit_position.parse_revision( 48 commit_position = api.commit_position.parse_revision(
49 api.properties['got_revision_cp']) 49 api.properties['got_revision_cp'])
50 50
51 if platform == 'android': 51 if platform == 'android':
52 api.chromedriver.download_prebuilts() 52 api.chromedriver.download_prebuilts()
53 53
54 passed = True 54 passed = True
55 try: 55 try:
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 api.test('%s_unexpected_prebuilt' % sanitize('Android ChromeDriver')) + 112 api.test('%s_unexpected_prebuilt' % sanitize('Android ChromeDriver')) +
113 api.properties.generic( 113 api.properties.generic(
114 buildername='Android ChromeDriver Tests Example', 114 buildername='Android ChromeDriver Tests Example',
115 slavename='slavename') + 115 slavename='slavename') +
116 api.properties( 116 api.properties(
117 parent_build_archive_url='gs://test-domain/test-archive.zip', 117 parent_build_archive_url='gs://test-domain/test-archive.zip',
118 got_revision_cp='refs/heads/master@{#3333333333}') + 118 got_revision_cp='refs/heads/master@{#3333333333}') +
119 api.step_data( 119 api.step_data(
120 'Download Prebuilts.listdir get prebuilt filename', 120 'Download Prebuilts.listdir get prebuilt filename',
121 api.json.output(['rNone.zip']))) 121 api.json.output(['rNone.zip'])))
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromedriver/example.expected/Android_ChromeDriver_basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698