зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
bb557e823d
Коммит
656ebe2d27
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче