# 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: ac_taskgraph.loader.multi_dep:loader

transforms:
    - ac_taskgraph.transforms.multi_dep:transforms
    - ac_taskgraph.transforms.signing:transforms
    - ac_taskgraph.transforms.treeherder:transforms
    - taskgraph.transforms.task:transforms

kind-dependencies:
    - build

primary-dependency: build

group-by: component

only-for-build-types:
    - release
    - nightly

job-template:
    description: Sign component
    index:
        by-build-type:
            (release|nightly):
                type: signing
            default: {}
    run-on-tasks-for: []
    treeherder:
        job-symbol:
            by-build-type:
                release: BRs
                nightly: BNs
                default: Bs
        kind: build
    worker-type:
        by-level:
            '3': signing
            default: dep-signing
    worker:
        signing-type:
            by-level:
                '3': release-signing
                default: dep-signing
