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

Side by Side Diff: scripts/slave/recipes/chromedriver.py

Issue 2269263002: Make all the rest of the recipes explicitly specify GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
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 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 'adb', 9 'adb',
10 'archive', 10 'archive',
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 api.chromium_android.configure_from_properties( 49 api.chromium_android.configure_from_properties(
50 builder['config'], 50 builder['config'],
51 REPO_NAME='src', 51 REPO_NAME='src',
52 REPO_URL=REPO_URL, 52 REPO_URL=REPO_URL,
53 INTERNAL=False, 53 INTERNAL=False,
54 BUILD_CONFIG=builder['target']) 54 BUILD_CONFIG=builder['target'])
55 android_packages = builder.get('android_packages') 55 android_packages = builder.get('android_packages')
56 update_test_log = builder.get('update_test_log') 56 update_test_log = builder.get('update_test_log')
57 platform = builder.get('chromedriver_platform') 57 platform = builder.get('chromedriver_platform')
58 58
59 api.gclient.set_config('chromium') 59 api.gclient.set_config('chromium', GIT_MODE=True)
60 api.gclient.apply_config('android') 60 api.gclient.apply_config('android')
61 api.gclient.apply_config('chromedriver') 61 api.gclient.apply_config('chromedriver')
62 api.bot_update.ensure_checkout() 62 api.bot_update.ensure_checkout()
63 api.chromium_android.clean_local_files() 63 api.chromium_android.clean_local_files()
64 api.chromium.runhooks() 64 api.chromium.runhooks()
65 api.chromium_android.run_tree_truth() 65 api.chromium_android.run_tree_truth()
66 66
67 api.archive.download_and_unzip_build( 67 api.archive.download_and_unzip_build(
68 step_name='extract build', 68 step_name='extract build',
69 target=api.chromium.c.BUILD_CONFIG, 69 target=api.chromium.c.BUILD_CONFIG,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 '%s_test_failure' % sanitize('Android ChromeDriver Tests (dbg)')) + 112 '%s_test_failure' % sanitize('Android ChromeDriver Tests (dbg)')) +
113 api.properties.generic( 113 api.properties.generic(
114 buildername='Android ChromeDriver Tests (dbg)', 114 buildername='Android ChromeDriver Tests (dbg)',
115 slavename='slavename', 115 slavename='slavename',
116 mastername='chromium.fyi') + 116 mastername='chromium.fyi') +
117 api.properties( 117 api.properties(
118 parent_build_archive_url='gs://test-domain/test-archive.zip', 118 parent_build_archive_url='gs://test-domain/test-archive.zip',
119 got_revision='4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00', 119 got_revision='4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00',
120 got_revision_cp='refs/heads/master@{#333333}') + 120 got_revision_cp='refs/heads/master@{#333333}') +
121 api.step_data('java_tests chrome_stable.Run Tests', retcode=1)) 121 api.step_data('java_tests chrome_stable.Run Tests', retcode=1))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698