Bug 1411344 - remove legacy instance type an as option in taskcluster now that linux doesn't use it. r=dustin

This commit is contained in:
Joel Maher 2017-10-25 05:01:27 -04:00
parent 32d6f12355
commit 538528275f

View File

@ -41,7 +41,6 @@ import logging
LINUX_WORKER_TYPES = {
'large': 'aws-provisioner-v1/gecko-t-linux-large',
'xlarge': 'aws-provisioner-v1/gecko-t-linux-xlarge',
'legacy': 'aws-provisioner-v1/gecko-t-linux-medium',
'default': 'aws-provisioner-v1/gecko-t-linux-large',
}
@ -212,7 +211,7 @@ test_description_schema = Schema({
# The EC2 instance size to run these tests on.
Required('instance-size', default='default'): optionally_keyed_by(
'test-platform',
Any('default', 'large', 'xlarge', 'legacy')),
Any('default', 'large', 'xlarge')),
# type of virtualization or hardware required by test.
Required('virtualization', default='virtual'): optionally_keyed_by(
@ -763,9 +762,6 @@ def allow_software_gl_layers(config, tests):
"""
for test in tests:
if test.get('allow-software-gl-layers'):
assert test['instance-size'] != 'legacy',\
'Software GL layers on a legacy instance is disallowed (bug 1296086).'
# This should be set always once bug 1296086 is resolved.
test['mozharness'].setdefault('extra-options', [])\
.append("--allow-software-gl-layers")