forked from mirrors/gecko-dev
Bug 1568232 - Run raptor cold page-load test job on fenix and refbrow. r=perftest-reviewers,davehunt
Run fenix and refbrow raptor cold page-load tests once a day, through cron, at 3 AM. Differential Revision: https://phabricator.services.mozilla.com/D39485 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
29cce9a268
commit
10570b80e6
2 changed files with 40 additions and 0 deletions
17
.cron.yml
17
.cron.yml
|
|
@ -193,3 +193,20 @@ jobs:
|
|||
# No default branch
|
||||
mozilla-central:
|
||||
- {weekday: 'Monday', hour: 10, minute: 0}
|
||||
|
||||
- name: raptor-tp6m
|
||||
job:
|
||||
type: decision-task
|
||||
treeherder-symbol: tp6m
|
||||
target-tasks-method: raptor_tp6m
|
||||
include-push-tasks: true
|
||||
run-on-projects:
|
||||
- mozilla-central
|
||||
when:
|
||||
- {weekday: 'Monday', hour: 3, minute: 0}
|
||||
- {weekday: 'Tuesday', hour: 3, minute: 0}
|
||||
- {weekday: 'Wednesday', hour: 3, minute: 0}
|
||||
- {weekday: 'Thursday', hour: 3, minute: 0}
|
||||
- {weekday: 'Friday', hour: 3, minute: 0}
|
||||
- {weekday: 'Saturday', hour: 3, minute: 0}
|
||||
- {weekday: 'Sunday', hour: 3, minute: 0}
|
||||
|
|
|
|||
|
|
@ -759,3 +759,26 @@ def target_tasks_codereview(full_task_graph, parameters, graph_config):
|
|||
def target_tasks_nothing(full_task_graph, parameters, graph_config):
|
||||
"""Select nothing, for DONTBUILD pushes"""
|
||||
return []
|
||||
|
||||
|
||||
@_target_task('raptor_tp6m')
|
||||
def target_tasks_raptor_tp6m(full_task_graph, parameters, graph_config):
|
||||
"""
|
||||
Select tasks required for running raptor cold page-load tests on fenix and refbrow
|
||||
"""
|
||||
def filter(task):
|
||||
platform = task.attributes.get('build_platform')
|
||||
attributes = task.attributes
|
||||
|
||||
if platform and 'android' not in platform:
|
||||
return False
|
||||
if attributes.get('unittest_suite') != 'raptor':
|
||||
return False
|
||||
try_name = attributes.get('raptor_try_name')
|
||||
if '-cold' in try_name and 'pgo' in platform:
|
||||
if '-1-refbrow-' in try_name:
|
||||
return True
|
||||
if '-1-fenix-' in try_name:
|
||||
return True
|
||||
|
||||
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue