forked from mirrors/gecko-dev
Bug 1902979 - add t-linux-xlarge-wayland worker type. r=jmaher a=RyanVM
This switches the wayland wpt tasks to run on xlarge workers, like the corresponding x11 tasks. Original Revision: https://phabricator.services.mozilla.com/D214127 Differential Revision: https://phabricator.services.mozilla.com/D214232
This commit is contained in:
parent
1bd1dd93ae
commit
5af0b5d0b6
2 changed files with 10 additions and 2 deletions
|
|
@ -872,6 +872,11 @@ workers:
|
|||
implementation: generic-worker
|
||||
os: linux
|
||||
worker-type: 't-linux-2204-wayland'
|
||||
t-linux-xlarge-wayland:
|
||||
provisioner: '{trust-domain}-t'
|
||||
implementation: generic-worker
|
||||
os: linux
|
||||
worker-type: 't-linux-xlarge-2204-wayland'
|
||||
t-linux-wayland-vm:
|
||||
provisioner: '{trust-domain}-t'
|
||||
implementation: generic-worker
|
||||
|
|
|
|||
|
|
@ -173,7 +173,10 @@ def set_worker_type(config, tasks):
|
|||
task["worker-type"] = "t-linux-kvm"
|
||||
elif test_platform.startswith("linux") or test_platform.startswith("android"):
|
||||
if "wayland" in test_platform:
|
||||
task["worker-type"] = "t-linux-wayland"
|
||||
if task["instance-size"].startswith("xlarge"):
|
||||
task["worker-type"] = "t-linux-xlarge-wayland"
|
||||
else:
|
||||
task["worker-type"] = "t-linux-wayland"
|
||||
elif task.get("suite", "") in ["talos", "raptor"] and not task[
|
||||
"build-platform"
|
||||
].startswith("linux64-ccov"):
|
||||
|
|
@ -189,7 +192,7 @@ def set_worker_type(config, tasks):
|
|||
@transforms.add
|
||||
def set_wayland_env(config, tasks):
|
||||
for task in tasks:
|
||||
if not task["worker-type"].startswith("t-linux-wayland"):
|
||||
if "wayland" not in task["test-platform"]:
|
||||
yield task
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue