Bug 1439588 - run xperf in os administrator group. r=pmoore

run xperf in os groups=administrators and support os_groups in taskcluster

Differential Revision: https://phabricator.services.mozilla.com/D4001

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Joel Maher 2018-08-22 18:27:54 +00:00
Родитель 312fdae0eb
Коммит da8f6490c3
2 изменённых файлов: 5 добавлений и 1 удалений

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

@ -602,6 +602,7 @@ talos-xperf:
try-name: xperf
treeherder-symbol: T(x)
virtualization: virtual
os-groups: ['Administrators']
run-on-projects:
by-test-platform:
windows7-32-msvc/.*: ['mozilla-beta', 'mozilla-central', 'try']

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

@ -206,7 +206,10 @@ def mozharness_test_on_generic_worker(config, job, taskdesc):
installer_url = get_artifact_url(upstream_task, mozharness['build-artifact-name'])
taskdesc['scopes'].extend(
['generic-worker:os-group:{}'.format(group) for group in test['os-groups']])
['generic-worker:os-group:{}/{}'.format(
job['worker-type'],
group
) for group in test['os-groups']])
worker['os-groups'] = test['os-groups']