# 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:
    - android_taskgraph.transforms.release_started:transforms
    - taskgraph.transforms.notify:transforms
    - taskgraph.transforms.task:transforms

task-defaults:
    description: Sends email to release-signoff telling release was started.
    run-on-projects: []
    shipping-phase: promote
    worker-type: succeed
    worker:
        implementation: succeed
    notifications:
        emails:
            by-level:
                '3': ["release-signoff@mozilla.org"]
                default: ["{config[params][owner]}"]
        subject: "[mobile] Build of {config[params][project]} {config[params][version]} build{config[params][build_number]}"
        # email body added by the release_started transform

tasks:
    beta:
        attributes:
            release-type: beta
    release:
        attributes:
            release-type: release
