# 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/.
---
loader: taskgraph.loader.transform:loader

transforms:
    - taskgraph.transforms.from_deps
    - gecko_taskgraph.transforms.name_sanity
    - gecko_taskgraph.transforms.beetmover_checksums
    - gecko_taskgraph.transforms.task

kind-dependencies:
    - beetmover-repackage

only-for-attributes:
    - nightly
    - shippable

tasks:
    beetmover-checksums:
        from-deps:
            group-by: single-with-filters
        shipping-phase: promote
        attributes:
            artifact_prefix: public
            artifact_map:
                by-release-type:
                    beta|release.*|esr.*: taskcluster/gecko_taskgraph/manifests/firefox_candidates_checksums.yml
                    default: taskcluster/gecko_taskgraph/manifests/firefox_nightly_checksums.yml
