gecko-dev/taskcluster/android_taskgraph/transforms/post_dummy.py
Julien Cristau 5e0f155a42 Bug 1899142 - don't show android-components dummy tasks on treeherder. r=aryx,releng-reviewers,bhearsum
These tasks will never fail, and don't have logs, so having them on
treeherder can be confusing.

Rename `post-signing` to `post-signing-dummy` to benefit from the
special handling in `verify_dependency_tiers`.

Differential Revision: https://phabricator.services.mozilla.com/D211746
2024-05-27 15:45:53 +00:00

16 lines
501 B
Python

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from taskgraph.transforms.base import TransformSequence
transforms = TransformSequence()
@transforms.add
def set_name_and_clear_artifacts(config, tasks):
for task in tasks:
task["name"] = task["attributes"]["build-type"]
task["attributes"]["artifacts"] = {}
yield task