Bug 1825574 - Create a daily cron to run Chrome release tests against Speedometer 3 for android and desktop. r=perftest-reviewers,sparky

Differential Revision: https://phabricator.services.mozilla.com/D174163
This commit is contained in:
andrej 2023-04-01 19:51:29 +00:00
parent 3a672e3b71
commit 11a6ea9dcb
2 changed files with 29 additions and 0 deletions

View File

@ -368,3 +368,13 @@ jobs:
- mozilla-central
when:
- {hour: 0, minute: 00}
- name: sp-perftests
job:
type: decision-task
treeherder-symbol: sp-perftests
target-tasks-method: sp-perftests
run-on-projects:
- mozilla-central
when:
- {hour: 0, minute: 00}

View File

@ -836,6 +836,25 @@ def make_desktop_nightly_filter(platforms):
return filter
@_target_task("sp-perftests")
def target_tasks_speedometer_tests(full_task_graph, parameters, graph_config):
def filter(task):
platform = task.attributes.get("test_platform")
attributes = task.attributes
if attributes.get("unittest_suite") != "raptor":
return False
if "windows10-32" not in platform:
try_name = attributes.get("raptor_try_name")
if (
"browsertime" in try_name
and "speedometer" in try_name
and "chrome" in try_name
):
return True
return [l for l, t in full_task_graph.tasks.items() if filter(t)]
@_target_task("nightly_linux")
def target_tasks_nightly_linux(full_task_graph, parameters, graph_config):
"""Select the set of tasks required for a nightly build of linux. The