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

Side by Side Diff: scripts/slave/recipe_modules/v8/builders.py

Issue 2472073002: V8: Switch some port builders to swarming (Closed)
Patch Set: Created 4 years, 1 month 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/recipes/v8.expected/full_client_v8_ports_V8_Linux___mipsel___sim.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 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 # Contains the bulk of the V8 builder configurations so they can be reused 5 # Contains the bulk of the V8 builder configurations so they can be reused
6 # from multiple recipes. 6 # from multiple recipes.
7 7
8 from recipe_engine.types import freeze 8 from recipe_engine.types import freeze
9 from testing import V8NoExhaustiveVariants, V8Variant, V8VariantNeutral 9 from testing import V8NoExhaustiveVariants, V8Variant, V8VariantNeutral
10 10
(...skipping 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after
1523 }, 1523 },
1524 'V8 Linux - mipsel - sim - builder': { 1524 'V8 Linux - mipsel - sim - builder': {
1525 'chromium_apply_config': [ 1525 'chromium_apply_config': [
1526 'default_compiler', 'v8_ninja', 'goma', 'simulate_mipsel', 'mb'], 1526 'default_compiler', 'v8_ninja', 'goma', 'simulate_mipsel', 'mb'],
1527 'v8_config_kwargs': { 1527 'v8_config_kwargs': {
1528 'BUILD_CONFIG': 'Release', 1528 'BUILD_CONFIG': 'Release',
1529 'TARGET_BITS': 32, 1529 'TARGET_BITS': 32,
1530 }, 1530 },
1531 'bot_type': 'builder', 1531 'bot_type': 'builder',
1532 'build_gs_archive': 'mipsel_sim_rel_archive', 1532 'build_gs_archive': 'mipsel_sim_rel_archive',
1533 'enable_swarming': True,
1533 'testing': {'platform': 'linux'}, 1534 'testing': {'platform': 'linux'},
1534 'triggers': [ 1535 'triggers': [
1535 'V8 Linux - mipsel - sim', 1536 'V8 Linux - mipsel - sim',
1536 ], 1537 ],
1537 }, 1538 },
1538 'V8 Linux - mips64el - sim - builder': { 1539 'V8 Linux - mips64el - sim - builder': {
1539 'chromium_apply_config': [ 1540 'chromium_apply_config': [
1540 'default_compiler', 'v8_ninja', 'goma', 'simulate_mipsel', 'mb'], 1541 'default_compiler', 'v8_ninja', 'goma', 'simulate_mipsel', 'mb'],
1541 'v8_config_kwargs': { 1542 'v8_config_kwargs': {
1542 'BUILD_CONFIG': 'Release', 1543 'BUILD_CONFIG': 'Release',
1543 'TARGET_BITS': 64, 1544 'TARGET_BITS': 64,
1544 }, 1545 },
1545 'bot_type': 'builder', 1546 'bot_type': 'builder',
1546 'build_gs_archive': 'mips64el_sim_rel_archive', 1547 'build_gs_archive': 'mips64el_sim_rel_archive',
1547 'testing': {'platform': 'linux'}, 1548 'testing': {'platform': 'linux'},
1548 }, 1549 },
1549 'V8 Linux - mipsel - sim': { 1550 'V8 Linux - mipsel - sim': {
1550 'chromium_apply_config': ['simulate_mipsel'], 1551 'chromium_apply_config': ['simulate_mipsel'],
1551 'v8_config_kwargs': { 1552 'v8_config_kwargs': {
1552 'BUILD_CONFIG': 'Release', 1553 'BUILD_CONFIG': 'Release',
1553 'TARGET_BITS': 32, 1554 'TARGET_BITS': 32,
1554 }, 1555 },
1555 'bot_type': 'tester', 1556 'bot_type': 'tester',
1556 'parent_buildername': 'V8 Linux - mipsel - sim - builder', 1557 'parent_buildername': 'V8 Linux - mipsel - sim - builder',
1557 'build_gs_archive': 'mipsel_sim_rel_archive', 1558 'build_gs_archive': 'mipsel_sim_rel_archive',
1558 'tests': [V8Testing, Test262, SimdJs], 1559 'enable_swarming': True,
1560 'tests': [V8Testing_2, Test262, SimdJs],
1559 'testing': {'platform': 'linux'}, 1561 'testing': {'platform': 'linux'},
1562 'swarming_dimensions': {
Michael Achenbach 2016/11/03 11:34:44 As soon as trusty is the default, I'll remove all
1563 'os': 'Ubuntu-14.04',
1564 },
1560 }, 1565 },
1561 ####### Category: PPC 1566 ####### Category: PPC
1562 'V8 Linux - ppc - sim': { 1567 'V8 Linux - ppc - sim': {
1563 'chromium_apply_config': [ 1568 'chromium_apply_config': [
1564 'default_compiler', 'v8_ninja', 'goma', 'simulate_ppc', 'mb'], 1569 'default_compiler', 'v8_ninja', 'goma', 'simulate_ppc', 'mb'],
1565 'v8_config_kwargs': { 1570 'v8_config_kwargs': {
1566 'BUILD_CONFIG': 'Release', 1571 'BUILD_CONFIG': 'Release',
1567 'TARGET_BITS': 32, 1572 'TARGET_BITS': 32,
1568 }, 1573 },
1569 'bot_type': 'builder_tester', 1574 'bot_type': 'builder_tester',
1570 'tests': [V8Testing], 1575 'enable_swarming': True,
1576 'tests': [V8Testing_2],
1571 'testing': {'platform': 'linux'}, 1577 'testing': {'platform': 'linux'},
1578 'swarming_dimensions': {
1579 'os': 'Ubuntu-14.04',
1580 },
1581 'swarming_properties': {
1582 'default_expiration': 2 * 60 * 60,
kjellander_chromium 2016/11/03 12:57:32 It looks like you could extract these into constan
Michael Achenbach 2016/11/03 13:09:45 Done for some of them. There are more in this file
1583 'default_hard_timeout': 60 * 60,
1584 'default_priority': 35,
1585 },
1572 }, 1586 },
1573 'V8 Linux - ppc64 - sim': { 1587 'V8 Linux - ppc64 - sim': {
1574 'chromium_apply_config': [ 1588 'chromium_apply_config': [
1575 'default_compiler', 'v8_ninja', 'goma', 'simulate_ppc', 'mb'], 1589 'default_compiler', 'v8_ninja', 'goma', 'simulate_ppc', 'mb'],
1576 'v8_config_kwargs': { 1590 'v8_config_kwargs': {
1577 'BUILD_CONFIG': 'Release', 1591 'BUILD_CONFIG': 'Release',
1578 'TARGET_BITS': 64, 1592 'TARGET_BITS': 64,
1579 }, 1593 },
1580 'bot_type': 'builder_tester', 1594 'bot_type': 'builder_tester',
1581 'tests': [V8Testing], 1595 'enable_swarming': True,
1596 'tests': [V8Testing_2],
1582 'testing': {'platform': 'linux'}, 1597 'testing': {'platform': 'linux'},
1598 'swarming_dimensions': {
1599 'os': 'Ubuntu-14.04',
1600 },
1601 'swarming_properties': {
1602 'default_expiration': 2 * 60 * 60,
1603 'default_hard_timeout': 60 * 60,
1604 'default_priority': 35,
1605 },
1583 }, 1606 },
1584 ####### Category: S390 1607 ####### Category: S390
1585 'V8 Linux - s390 - sim': { 1608 'V8 Linux - s390 - sim': {
1586 'chromium_apply_config': [ 1609 'chromium_apply_config': [
1587 'default_compiler', 'v8_ninja', 'goma', 'simulate_s390', 'mb'], 1610 'default_compiler', 'v8_ninja', 'goma', 'simulate_s390', 'mb'],
1588 'v8_config_kwargs': { 1611 'v8_config_kwargs': {
1589 'BUILD_CONFIG': 'Release', 1612 'BUILD_CONFIG': 'Release',
1590 'TARGET_BITS': 32, 1613 'TARGET_BITS': 32,
1591 }, 1614 },
1592 'bot_type': 'builder_tester', 1615 'bot_type': 'builder_tester',
1593 'tests': [V8Testing], 1616 'enable_swarming': True,
1617 'tests': [V8Testing_2],
1594 'testing': {'platform': 'linux'}, 1618 'testing': {'platform': 'linux'},
1619 'swarming_dimensions': {
1620 'os': 'Ubuntu-14.04',
1621 },
1622 'swarming_properties': {
1623 'default_expiration': 2 * 60 * 60,
1624 'default_hard_timeout': 60 * 60,
1625 'default_priority': 35,
1626 },
1595 }, 1627 },
1596 'V8 Linux - s390x - sim': { 1628 'V8 Linux - s390x - sim': {
1597 'chromium_apply_config': [ 1629 'chromium_apply_config': [
1598 'default_compiler', 'v8_ninja', 'goma', 'simulate_s390', 'mb'], 1630 'default_compiler', 'v8_ninja', 'goma', 'simulate_s390', 'mb'],
1599 'v8_config_kwargs': { 1631 'v8_config_kwargs': {
1600 'BUILD_CONFIG': 'Release', 1632 'BUILD_CONFIG': 'Release',
1601 'TARGET_BITS': 64, 1633 'TARGET_BITS': 64,
1602 }, 1634 },
1603 'bot_type': 'builder_tester', 1635 'bot_type': 'builder_tester',
1604 'tests': [V8Testing], 1636 'enable_swarming': True,
1637 'tests': [V8Testing_2],
1605 'testing': {'platform': 'linux'}, 1638 'testing': {'platform': 'linux'},
1639 'swarming_dimensions': {
1640 'os': 'Ubuntu-14.04',
1641 },
1642 'swarming_properties': {
1643 'default_expiration': 2 * 60 * 60,
1644 'default_hard_timeout': 60 * 60,
1645 'default_priority': 35,
1646 },
1606 }, 1647 },
1607 ####### Category: X87 1648 ####### Category: X87
1608 'V8 Linux - x87 - nosnap - debug builder': { 1649 'V8 Linux - x87 - nosnap - debug builder': {
1609 'v8_apply_config': ['no_snapshot'], 1650 'v8_apply_config': ['no_snapshot'],
1610 'chromium_apply_config': [ 1651 'chromium_apply_config': [
1611 'v8_ninja', 'default_compiler', 'goma', 'no_snapshot', 'x87', 'mb'], 1652 'v8_ninja', 'default_compiler', 'goma', 'no_snapshot', 'x87', 'mb'],
1612 'v8_config_kwargs': { 1653 'v8_config_kwargs': {
1613 'BUILD_CONFIG': 'Debug', 1654 'BUILD_CONFIG': 'Debug',
1614 'TARGET_BITS': 32, 1655 'TARGET_BITS': 32,
1615 }, 1656 },
(...skipping 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after
2776 win['chromium_apply_config'].extend(['msvs2013']) 2817 win['chromium_apply_config'].extend(['msvs2013'])
2777 2818
2778 BUILDERS = freeze(BUILDERS) 2819 BUILDERS = freeze(BUILDERS)
2779 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS) 2820 BRANCH_BUILDERS = freeze(BRANCH_BUILDERS)
2780 2821
2781 def iter_builders(): 2822 def iter_builders():
2782 for mastername, master_config in BUILDERS.iteritems(): 2823 for mastername, master_config in BUILDERS.iteritems():
2783 builders = master_config['builders'] 2824 builders = master_config['builders']
2784 for buildername, bot_config in builders.iteritems(): 2825 for buildername, bot_config in builders.iteritems():
2785 yield mastername, builders, buildername, bot_config 2826 yield mastername, builders, buildername, bot_config
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/v8.expected/full_client_v8_ports_V8_Linux___mipsel___sim.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698