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

Side by Side Diff: scripts/slave/recipes/swarming/staging.py

Issue 2282913002: Delete all references to GIT_MODE=True from build (Closed)
Patch Set: 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 """Swarming staging recipe: runs tests for HEAD of chromium using HEAD of 5 """Swarming staging recipe: runs tests for HEAD of chromium using HEAD of
6 swarming_client toolset on Swarming staging server instances 6 swarming_client toolset on Swarming staging server instances
7 (*-dev.appspot.com). 7 (*-dev.appspot.com).
8 8
9 Intended to catch bugs in swarming_client and Swarming servers early on, before 9 Intended to catch bugs in swarming_client and Swarming servers early on, before
10 full roll out. 10 full roll out.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 # Only one android bot, bump the expiration higher. 59 # Only one android bot, bump the expiration higher.
60 # TODO(stip/maruel): add default_expiration property to api.swarming? Add 60 # TODO(stip/maruel): add default_expiration property to api.swarming? Add
61 # expiration to api.swarming.task()? 61 # expiration to api.swarming.task()?
62 api.swarming._default_expiration = 5*60*60 62 api.swarming._default_expiration = 5*60*60
63 else: 63 else:
64 api.chromium.set_config( 64 api.chromium.set_config(
65 'chromium', BUILD_CONFIG=api.properties.get('configuration', 'Release')) 65 'chromium', BUILD_CONFIG=api.properties.get('configuration', 'Release'))
66 66
67 # We are checking out Chromium with swarming_client dep unpinned and pointing 67 # We are checking out Chromium with swarming_client dep unpinned and pointing
68 # to ToT of swarming_client repo, see recipe_modules/gclient/config.py. 68 # to ToT of swarming_client repo, see recipe_modules/gclient/config.py.
69 api.gclient.set_config('chromium', GIT_MODE=True) 69 api.gclient.set_config('chromium')
70 if api.properties.get('platform') == 'android': 70 if api.properties.get('platform') == 'android':
71 api.gclient.apply_config('android') 71 api.gclient.apply_config('android')
72 api.gclient.c.solutions[0].custom_vars['swarming_revision'] = '' 72 api.gclient.c.solutions[0].custom_vars['swarming_revision'] = ''
73 api.gclient.c.revisions['src/tools/swarming_client'] = 'HEAD' 73 api.gclient.c.revisions['src/tools/swarming_client'] = 'HEAD'
74 74
75 # Enable test isolation. Modifies GYP_DEFINES used in 'runhooks' below. 75 # Enable test isolation. Modifies GYP_DEFINES used in 'runhooks' below.
76 api.isolate.set_isolate_environment(api.chromium.c) 76 api.isolate.set_isolate_environment(api.chromium.c)
77 77
78 api.chromium.cleanup_temp() 78 api.chromium.cleanup_temp()
79 # Checkout chromium + deps (including 'master' of swarming_client). 79 # Checkout chromium + deps (including 'master' of swarming_client).
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 api.test('android') + 219 api.test('android') +
220 api.platform.name('linux') + 220 api.platform.name('linux') +
221 api.properties.scheduled() + 221 api.properties.scheduled() +
222 api.properties(configuration='Release', platform='android') + 222 api.properties(configuration='Release', platform='android') +
223 api.override_step_data( 223 api.override_step_data(
224 'isolate tests', 224 'isolate tests',
225 api.isolate.output_json(targets=[ 225 api.isolate.output_json(targets=[
226 'dummy_target_1', 'dummy_target_2', 'chrome_public_test_apk']) 226 'dummy_target_1', 'dummy_target_2', 'chrome_public_test_apk'])
227 ) 227 )
228 ) 228 )
OLDNEW
« no previous file with comments | « scripts/slave/recipes/swarming/deterministic_build.py ('k') | scripts/slave/recipes/syzygy/continuous.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698