Bug 1339604 - stylo builds + tests should only run on limited branches to reduce budget impact r=dustin

This commit is contained in:
Kim Moir
2017-02-17 13:31:39 -05:00
parent 7e3ae86ebb
commit 871505a00c
5 changed files with 96 additions and 34 deletions

View File

@@ -119,7 +119,7 @@ test_description_schema = Schema({
# one task without e10s. E10s tasks have "-e10s" appended to the test name
# and treeherder group.
Required('e10s', default='both'): optionally_keyed_by(
'test-platform',
'test-platform', 'project',
Any(bool, 'both')),
# The EC2 instance size to run these tests on.
@@ -456,7 +456,8 @@ def handle_keyed_by(config, tests):
]
for test in tests:
for field in fields:
resolve_keyed_by(test, field, item_name=test['test-name'])
resolve_keyed_by(test, field, item_name=test['test-name'],
project=config.params['project'])
yield test