Bug 1603459 - [ci] Add a shadow-scheduler for the new 'bugbug-push-schedules' optimizer, r=tomprince

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andrew Halberstadt 2020-03-13 20:30:57 +00:00
Родитель b395876bc4
Коммит 20db0eb3ac
2 изменённых файлов: 17 добавлений и 0 удалений

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

@ -32,3 +32,14 @@ relevant_tests:
worker:
env:
TASKGRAPH_OPTIMIZE_STRATEGIES: taskgraph.optimize:relevant_tests
bugbug_push_schedules:
description: Runs the bugbug_push_schedules optimization strategy instead of the default.
treeherder:
symbol: SS(bugbug_push_schedules)
index:
product: source
job-name: shadow-scheduler-bugbug_push_schedules
worker:
env:
TASKGRAPH_OPTIMIZE_STRATEGIES: taskgraph.optimize:bugbug_push_schedules

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

@ -319,3 +319,9 @@ register_strategy('fuzzing-builds', args=('skip-unless-schedules', 'seta'))(Eith
relevant_tests = {
'test': Either('skip-unless-schedules', 'skip-unless-has-relevant-tests'),
}
# Queries the bugbug push schedules endpoint which uses machine learning to
# determine which tasks to run.
bugbug_push_schedules = {
'test': Either('skip-unless-schedules', 'bugbug-push-schedules'),
}