Bug 1643689 - [taskgraph] enable manifest-scheduling on autoland, r=marco

Sets autoland to use the 'bugbug' test manifest loader. This is being enabled
as part of a temporary trial to see the impact it has on sheriffing.

Differential Revision: https://phabricator.services.mozilla.com/D85011
This commit is contained in:
Andrew Halberstadt 2020-07-28 14:40:40 +00:00
parent c936b44447
commit 512734fa0a
3 changed files with 7 additions and 1 deletions

View File

@ -75,6 +75,7 @@ PER_PROJECT_PARAMETERS = {
'autoland': {
'optimize_strategies': 'taskgraph.optimize:project.autoland',
'target_tasks_method': 'autoland_tasks',
'test_manifest_loader': 'bugbug', # Remove this line to disable "manifest scheduling".
},
'mozilla-central': {

View File

@ -430,7 +430,11 @@ class project(object):
autoland = {
'test': All(
Any('skip-unless-schedules', 'bugbug-reduced-fallback', split_args=split_bugbug_arg),
Any(
'skip-unless-schedules',
'bugbug-reduced-manifests-fallback',
split_args=split_bugbug_arg,
),
'backstop',
),
}

View File

@ -27,6 +27,7 @@ from taskgraph.util.bugbug import (
@register_strategy("bugbug-reduced-fallback", args=(CT_MEDIUM, True, True, True))
@register_strategy("bugbug-reduced-high", args=(CT_HIGH, True, True))
@register_strategy("bugbug-reduced-manifests", args=(CT_MEDIUM, False, True))
@register_strategy("bugbug-reduced-manifests-fallback", args=(CT_MEDIUM, False, True, True))
class BugBugPushSchedules(OptimizationStrategy):
"""Query the 'bugbug' service to retrieve relevant tasks and manifests.