taskcluster/ci/release-balrog-submit-toplevel/kind.yml
author Jorg K <jorgk@jorgk.com>
Tue, 18 Sep 2018 23:11:51 +0200
changeset 33184 743a00e211a5d8d13eac398b39fa1e0d43c66c14
parent 33176 03d79b0cf04825ec9cd17a9d254df09f74bf1e71
child 33202 ec9dbe9537afa761d25a60365707f38de7eaa447
permissions -rw-r--r--
Bug 1490094 - Follow-up: Correct balrog rule numbers for Thunderbird's 'staging'. r=me

# 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.release:run_on_releases
    - taskgraph.transforms.release_deps:transforms
    - taskgraph.transforms.scriptworker:add_balrog_scopes
    - taskgraph.transforms.task:transforms

job-defaults:
    run-on-projects: []  # to make sure this never runs in CI
    shipping-phase: promote
    worker:
        implementation: balrog
        balrog-action: submit-toplevel
        require-mirrors: true
        archive-domain:
            by-release-level:
                production: archive.mozilla.org
                staging: ftp.stage.mozaws.net
        download-domain:
            by-release-level:
                production: download.mozilla.org
                staging: bouncer-bouncer-releng.stage.mozaws.net

jobs:
    thunderbird:
        name: submit-toplevel-thunderbird-release-to-balrog
        description: Submit toplevel Thunderbird release to balrog
        shipping-product: thunderbird
        worker:
            product: thunderbird
            channel-names:
                by-release-type:
                    beta: ["beta", "beta-localtest", "beta-cdntest"]
                    esr60: ["release", "release-localtest", "release-cdntest"]
                    default: []
            publish-rules:
                by-release-level:
                    production:
                        by-release-type:
                            beta: [43]
                            esr60: [820]
                            default: []
                    staging:
                        by-release-type:
                            beta: [43]
                            esr60: [729]
                            default: []
            rules-to-update:
                by-release-type:
                    beta: ["thunderbird-beta-cdntest", "thunderbird-beta-localtest"]
                    esr60: ["thunderbird-release60-cdntest", "thunderbird-release60-localtest"]
                    default: []
            platforms: ["linux", "linux64", "macosx64", "win32", "win64"]
        treeherder:
            platform: thunderbird-release/opt
            symbol: Rel(BPTb)
            tier: 1
            kind: build

    thunderbird-bz2:
        name: submit-toplevel-thunderbird-release-to-balrog-bz2
        description: Submit toplevel Thunderbird release to balrog (bz2)
        shipping-product: thunderbird
        run-on-releases: [esr60]
        worker:
            product: thunderbird
            channel-names: ["release", "release-localtest", "release-cdntest"]
            publish-rules:
                by-release-level:
                    production: [516]
                    staging: [516]
            rules-to-update: ["thunderbird-esr52-cdntest", "thunderbird-esr52-localtest"]
            platforms: ["linux", "linux64", "macosx64", "win32", "win64"]
            blob-suffix: -bz2
            complete-mar-filename-pattern: '%s-%s.bz2.complete.mar'
            complete-mar-bouncer-product-pattern: '%s-%s-complete-bz2'
        treeherder:
            platform: thunderbird-release/opt
            symbol: Rel(BPTb-bz2)
            tier: 1
            kind: build