Bug 1572739 - duplicate linux talos tasks for both 1604 and 1804. r=sparky

duplicate linux talos tasks for both 1604 and 1804.

Differential Revision: https://phabricator.services.mozilla.com/D105053
This commit is contained in:
Joel Maher 2021-02-12 21:23:22 +00:00
Родитель bb557e823d
Коммит 656ebe2d27
2 изменённых файлов: 15 добавлений и 0 удалений

Просмотреть файл

@ -557,6 +557,11 @@ workers:
implementation: generic-worker
os: linux
worker-type: 'gecko-{alias}'
t-linux-talos-1804:
provisioner: releng-hardware
implementation: generic-worker
os: linux
worker-type: 'gecko-{alias}'
t-osx-1014:
provisioner: releng-hardware
implementation: generic-worker

Просмотреть файл

@ -1796,6 +1796,16 @@ def set_worker_type(config, tasks):
"build-platform"
].startswith("linux64-ccov"):
task["worker-type"] = "t-linux-talos"
# TODO: duplicate tasks for linux-1804 (remove March 1st)
task1804 = copy.deepcopy(task)
task1804["test-platform"] = test_platform.replace(
"linux64", "linux1804-64"
)
task1804["treeherder-machine-platform"] = task1804[
"treeherder-machine-platform"
].replace("linux64", "linux1804-64")
task1804["worker-type"] = "t-linux-talos-1804"
yield task1804
else:
task["worker-type"] = LINUX_WORKER_TYPES[task["instance-size"]]
else: