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

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

Issue 2142923002: Remove amp recipe module and related code (unused) (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'adb', 6 'adb',
7 'amp',
8 'bisect_tester', 7 'bisect_tester',
9 'depot_tools/bot_update', 8 'depot_tools/bot_update',
10 'chromium', 9 'chromium',
11 'chromium_android', 10 'chromium_android',
12 'chromium_tests', 11 'chromium_tests',
13 'commit_position', 12 'commit_position',
14 'file', 13 'file',
15 'isolate', 14 'isolate',
16 'recipe_engine/json', 15 'recipe_engine/json',
17 'recipe_engine/path', 16 'recipe_engine/path',
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 if bot_type in ['builder', 'builder_tester']: 92 if bot_type in ['builder', 'builder_tester']:
94 assert bot_config.get('parent_buildername') is None, ( 93 assert bot_config.get('parent_buildername') is None, (
95 'Unexpected parent_buildername for builder %r on master %r.' % 94 'Unexpected parent_buildername for builder %r on master %r.' %
96 (buildername, mastername)) 95 (buildername, mastername))
97 96
98 properties = { 97 properties = {
99 'mastername': mastername, 98 'mastername': mastername,
100 'buildername': buildername, 99 'buildername': buildername,
101 'parent_buildername': bot_config.get('parent_buildername'), 100 'parent_buildername': bot_config.get('parent_buildername'),
102 'build_data_dir': api.path['root'].join('build_data_dir'), 101 'build_data_dir': api.path['root'].join('build_data_dir'),
102 'path_config': 'kitchen',
103 } 103 }
104 # TODO(phajdan.jr): test with 'kitchen' path config everywhere.
105 if 'amp' not in buildername.lower():
106 properties['path_config'] = 'kitchen'
107 if mastername == 'chromium.webkit': 104 if mastername == 'chromium.webkit':
108 properties['gs_acl'] = 'public-read' 105 properties['gs_acl'] = 'public-read'
109 test = ( 106 test = (
110 api.test('full_%s_%s' % (_sanitize_nonalpha(mastername), 107 api.test('full_%s_%s' % (_sanitize_nonalpha(mastername),
111 _sanitize_nonalpha(buildername))) + 108 _sanitize_nonalpha(buildername))) +
112 api.properties.generic(**properties) + 109 api.properties.generic(**properties) +
113 api.platform(bot_config['testing']['platform'], 110 api.platform(bot_config['testing']['platform'],
114 bot_config.get( 111 bot_config.get(
115 'chromium_config_kwargs', {}).get('TARGET_BITS', 64)) 112 'chromium_config_kwargs', {}).get('TARGET_BITS', 64))
116 ) 113 )
(...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1289 buildername='WebKit Win7', 1286 buildername='WebKit Win7',
1290 project='chromium', 1287 project='chromium',
1291 parent_buildername='WebKit Win Builder', 1288 parent_buildername='WebKit Win Builder',
1292 parent_got_revision='1e74b372f951d4491f305ec64f6decfcda739e73', 1289 parent_got_revision='1e74b372f951d4491f305ec64f6decfcda739e73',
1293 parent_got_webkit_revision='191269', 1290 parent_got_webkit_revision='191269',
1294 revision='1e74b372f951d4491f305ec64f6decfcda739e73') + 1291 revision='1e74b372f951d4491f305ec64f6decfcda739e73') +
1295 api.platform('win', 32) 1292 api.platform('win', 32)
1296 ) 1293 )
1297 1294
1298 yield ( 1295 yield (
1299 api.test('amp_split_recipe_trigger_failure') +
1300 api.properties(
1301 mastername='chromium.fyi',
1302 buildername='Android Tests (amp split)',
1303 slavename='build1-a1',
1304 buildnumber='77457',
1305 parent_build_archive_url='gs://test-domain/test-archive.zip'
1306 ) +
1307 api.override_step_data('[trigger] base_unittests', retcode=1)
1308 )
1309
1310 yield (
1311 api.test('amp_split_recipe_instrumentation_trigger_failure') +
1312 api.properties(
1313 mastername='chromium.fyi',
1314 buildername='Android Tests (amp instrumentation test split)',
1315 slavename='build1-a1',
1316 buildnumber='77457',
1317 parent_build_archive_url='gs://test-domain/test-archive.zip'
1318 ) +
1319 api.override_step_data('[trigger] AndroidWebViewTest', retcode=1)
1320 )
1321
1322 yield (
1323 api.test('amp_split_recipe_collect_failure') +
1324 api.properties(
1325 mastername='chromium.fyi',
1326 buildername='Android Tests (amp split)',
1327 slavename='build1-a1',
1328 buildnumber='77457',
1329 parent_build_archive_url='gs://test-domain/test-archive.zip'
1330 ) +
1331 api.override_step_data('[collect] base_unittests', retcode=1)
1332 )
1333
1334 yield (
1335 api.test('kitchen_path_config') + 1296 api.test('kitchen_path_config') +
1336 api.properties( 1297 api.properties(
1337 mastername='chromium.fyi', 1298 mastername='chromium.fyi',
1338 buildername='Linux remote_run Builder', 1299 buildername='Linux remote_run Builder',
1339 slavename='build1-a1', 1300 slavename='build1-a1',
1340 buildnumber='77457', 1301 buildnumber='77457',
1341 path_config='kitchen') 1302 path_config='kitchen')
1342 ) 1303 )
1343 1304
1344 yield ( 1305 yield (
1345 api.test('ensure_goma_fail') + 1306 api.test('ensure_goma_fail') +
1346 api.properties( 1307 api.properties(
1347 mastername='chromium.fyi', 1308 mastername='chromium.fyi',
1348 buildername='Linux remote_run Builder', 1309 buildername='Linux remote_run Builder',
1349 slavename='build1-a1', 1310 slavename='build1-a1',
1350 buildnumber='77457', 1311 buildnumber='77457',
1351 path_config='kitchen') + 1312 path_config='kitchen') +
1352 api.override_step_data('ensure_goma.ensure_installed', retcode=1) 1313 api.override_step_data('ensure_goma.ensure_installed', retcode=1)
1353 ) 1314 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698