зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1634184 - Pick up visual metrics tasks in the cron task. r=tarek
The visual metrics tasks were not being picked up by the cron task. This patch fixes this by correctly parsing for vismet tasks in the general_perf_testing cron task. Differential Revision: https://phabricator.services.mozilla.com/D73294
This commit is contained in:
Родитель
d8878e67e5
Коммит
0b3a27bfae
|
@ -529,9 +529,15 @@ def target_tasks_general_perf_testing(full_task_graph, parameters, graph_config)
|
|||
def filter(task):
|
||||
platform = task.attributes.get('build_platform')
|
||||
attributes = task.attributes
|
||||
if attributes.get('unittest_suite') != 'raptor':
|
||||
vismet = attributes.get('kind') == 'visual-metrics-dep'
|
||||
if attributes.get('unittest_suite') != 'raptor' and not vismet:
|
||||
return False
|
||||
|
||||
try_name = attributes.get('raptor_try_name')
|
||||
if vismet:
|
||||
# Visual metric tasks are configured a bit differently
|
||||
platform = task.task.get('extra').get('treeherder-platform')
|
||||
try_name = task.label
|
||||
|
||||
# Run chrome and chromium on all platforms available
|
||||
if '-chrome' in try_name:
|
||||
|
|
Загрузка…
Ссылка в новой задаче