# 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: fenix_taskgraph.loader.single_dep:loader

transforms:
    - fenix_taskgraph.transforms.single_dep:transforms
    - fenix_taskgraph.transforms.push_apk:transforms
    - taskgraph.transforms.task:transforms

kind-dependencies:
    - signing

only-for-build-types:
    - nightly
    - beta
    - production

job-template:
    description: Publish Fenix
    worker-type: push-apk
    worker:
        commit: true
        channel:
            by-build-type:
                nightly: nightly
                beta: beta
                production: production
        dep:
            by-level:
                '3': false
                default: true
        product: fenix

    treeherder:
        job-symbol: gp
        kind: build
