зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1650406 - [ci] Use 'if-dependencies' with upload-symbols tasks r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D87777
This commit is contained in:
Родитель
eaeb3565d0
Коммит
629b7f62ad
|
@ -55,6 +55,7 @@ job_description_schema = Schema({
|
|||
Optional('dependencies'): task_description_schema['dependencies'],
|
||||
Optional('if-dependencies'): task_description_schema['if-dependencies'],
|
||||
Optional('soft-dependencies'): task_description_schema['soft-dependencies'],
|
||||
Optional('if-dependencies'): task_description_schema['if-dependencies'],
|
||||
Optional('requires'): task_description_schema['requires'],
|
||||
Optional('expires-after'): task_description_schema['expires-after'],
|
||||
Optional('routes'): task_description_schema['routes'],
|
||||
|
|
|
@ -75,7 +75,7 @@ def fill_template(config, tasks):
|
|||
# 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
|
||||
task['if-dependencies'] = ['build']
|
||||
|
||||
# clear out the stuff that's not part of a task description
|
||||
del task['primary-dependency']
|
||||
|
|
|
@ -86,7 +86,6 @@ def test_only_important_manifests(params, full_task_graph, filter_tasks):
|
|||
pytest.param(
|
||||
lambda t: t.kind == "build" and "fuzzing" in t.attributes["build_platform"],
|
||||
id="no fuzzing builds",
|
||||
marks=pytest.mark.xfail,
|
||||
),
|
||||
pytest.param(
|
||||
lambda t: t.kind == "build-signing",
|
||||
|
|
Загрузка…
Ссылка в новой задаче