Bug 1581194 - [ci.backfill] Change default backfill depth from 5 to 9, r=armenzg

This should cover all the pushes between the ones that scheduled all tasks.

Depends on D55020

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andrew Halberstadt 2019-11-28 19:58:02 +00:00
Родитель b3b9a988c5
Коммит 50602734aa
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -40,7 +40,7 @@ logger = logging.getLogger(__name__)
'properties': {
'depth': {
'type': 'integer',
'default': 5,
'default': 9,
'minimum': 1,
'maximum': 25,
'title': 'Depth',
@ -77,7 +77,7 @@ def backfill_action(parameters, graph_config, input, task_group_id, task_id):
label = task['metadata']['name']
pushes = []
inclusive_tweak = 1 if input.get('inclusive') else 0
depth = input.get('depth', 5) + inclusive_tweak
depth = input.get('depth', 9) + inclusive_tweak
end_id = int(parameters['pushlog_id']) - (1 - inclusive_tweak)
while True: