mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
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:
parent
32d6f12355
commit
538528275f
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user