зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
b395876bc4
Коммит
20db0eb3ac
|
@ -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'),
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче