Bug 1650406 - [ci] Ensure 'upload-symbols' tasks don't cause builds to run with |mach try auto|, r=Callek,froydnj

Differential Revision: https://phabricator.services.mozilla.com/D82572
This commit is contained in:
Andrew Halberstadt 2020-07-20 19:08:36 +00:00
Родитель 1d0050a3ae
Коммит fe6fcd8288
1 изменённых файлов: 4 добавлений и 5 удалений

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

@ -71,11 +71,10 @@ def fill_template(config, tasks):
)
task['treeherder'] = treeherder
if attributes.get('shippable'):
# For shippable builds, we want to run these tasks if the build is run.
# XXX Better to run this on promote phase instead?
task['run-on-projects'] = dep.attributes.get('run_on_projects')
task['optimization'] = dep.optimization
# We only want to run these tasks if the build is run.
# XXX Better to run this on promote phase instead?
task['run-on-projects'] = dep.attributes.get('run_on_projects')
task['optimization'] = dep.optimization
# clear out the stuff that's not part of a task description
del task['primary-dependency']