taskcluster/comm_taskgraph/manifests/thunderbird_candidates.yml
author Rob Lemley <rob@thunderbird.net>
Sun, 21 Jul 2019 18:45:55 -0400
changeset 35423 cb2b508896be5152e0e4ee0b9fe8a71eb591a104
parent 35097 afd5ed44f8ba8fb200acbe437669df4e418d5dc7
child 35255 49293e4e1bf2180a64b48d56f96f589f93fb342a
permissions -rw-r--r--
Bug 1567725 - Fix dependency issue with langpack beetmover. r=darktrojan DONTBUILD Set the from field for the target.langpack.xpi artifact for candidate (release) builds to match nightly builds.

# 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/.
---
# This file contains exhaustive information about all the release artifacs that
# are needed within a type of release.
#
# Structure
# --------
# `s3_bucket_paths`       -- prefix to be used per product to correctly access our S3 buckets
# `default_locales`       -- list of locales to be used when composing upstream artifacts or the list of
#                      destinations. If given an empty locale, it uses these locales instead.
# `tasktype_map`          -- mapping between task reference and task type, particularly usefule when
#                      composing the upstreamArtifacts for scriptworker.
# `platform_names`        -- various platform mappings used in reckoning artifacts or other paths
# `default`               -- a default entry, which the mappings extend and override in such a way that
#                      final path full-destinations will be a concatenation of the following:
#                      `s3_bucket_paths`, `destinations`, `locale_prefix`, `pretty_name`
# `from`                  -- specifies the dependency(ies) from which to expect the particular artifact
# `all_locales`           -- boolean argument to specify whether that particular artifact is to be expected
#                      for all locales or just the default one
# `description`           -- brief summary of what that artifact is
# `locale_prefix`         -- prefix to be used in the final destination paths, whether that's for default locale or not
# `source_path_modifier`  -- any parent dir that might be used in between artifact prefix and filename at source location
#                            for example `public/build` vs `public/build/ach/`.
# `destinations`          -- final list of directories where to push the artifacts in S3
# `pretty_name`           -- the final name the artifact will have at destination
# `checksums_path`        -- the name to identify one artifact within the checksums file
# `not_for_platforms`     -- filtering option to avoid associating an artifact with a specific platform
# `only_for_platforms`    -- filtering option to exclusively include the association of an artifact for a specific platform
# `partials_only`         -- filtering option to avoid associating an artifact unless this flag is present
# `update_balrog_manifest`-- flag needed downstream in beetmover jobs to reckon the balrog manifest
# `from_buildid`          -- flag needed downstream in beetmover jobs to reckon the balrog manifest

s3_bucket_paths:
    - pub/thunderbird/candidates
default_locales:
    - en-US
tasktype_map:
    build: build
    signing: signing
    mar-signing: signing
    partials-signing: signing
    repackage: repackage
    repackage-signing: repackage
    repackage-signing-msi: repackage
    release-sign-and-push-langpacks: scriptworker
platform_names:
    path_platform:
        by-platform:
            linux-shippable: 'linux-i686'
            linux64-shippable: 'linux-x86_64'
            macosx64-shippable: 'mac'
            win32-shippable: 'win32'
            win64-shippable: 'win64'
    tools_platform:
        by-platform:
            linux-shippable: 'linux'
            linux64-shippable: 'linux64'
            macosx64-shippable: 'macosx64'
            win32-shippable: 'win32'
            win64-shippable: 'win64'
    filename_platform:
        by-platform:
            linux-shippable: 'linux'
            linux64-shippable: 'linux64'
            macosx64-shippable: 'macosx64'
            win32-shippable: 'win32'
            win64-shippable: 'win64'

default: &default
    from:
        - build
    all_locales: false
    description: "TO_BE_OVERRIDDEN"
    locale_prefix: '${locale}/'
    source_path_modifier:
        by-locale:
            default: '${locale}'
            en-US: ''
    destinations:
        - ${version}-candidates/build${build_number}/${path_platform}

mapping:
    buildhub.json:
        <<: *default
        all_locales: false
        description: "Build related information to be consumed by Buildhub service"
        pretty_name: buildhub.json
        checksums_path: ${path_platform}/${locale}/buildhub.json
    target.common.tests.tar.gz:
        <<: *default
        description: "Mixture of reftests, mochitests, UI and others, commonly bundled together in a test suite"
        pretty_name: thunderbird-${version}.common.tests.tar.gz
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.common.tests.tar.gz
    target.cppunittest.tests.tar.gz:
        <<: *default
        description: "C++ unittests related in-tree test infrastructure"
        pretty_name: thunderbird-${version}.cppunittest.tests.tar.gz
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.cppunittest.tests.tar.gz
    target.crashreporter-symbols.zip:
        <<: *default
        description: "Crashreporter symbols to be consumed by Socorro"
        pretty_name: thunderbird-${version}.crashreporter-symbols.zip
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.crashreporter-symbols.zip
    target.json:
        <<: *default
        description: "Various compile and moz_app flags baked together in a json file"
        pretty_name: thunderbird-${version}.json
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.json
    target.mochitest.tests.tar.gz:
        <<: *default
        description: "Results for running the mochitest testing framework via Javascript function calls"
        pretty_name: thunderbird-${version}.mochitest.tests.tar.gz
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.mochitest.tests.tar.gz
    target.mozinfo.json:
        <<: *default
        description: "Various compile and moz_app flags baked together in a json file"
        pretty_name: thunderbird-${version}.mozinfo.json
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.mozinfo.json
    target.reftest.tests.tar.gz:
        <<: *default
        description: "Results for running the reftest testing framework via display of two Web pages comparison"
        pretty_name: thunderbird-${version}.reftest.tests.tar.gz
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.reftest.tests.tar.gz
    target.talos.tests.tar.gz:
        <<: *default
        description: "Results for running the talos testing framework to measure performance"
        pretty_name: thunderbird-${version}.talos.tests.tar.gz
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.talos.tests.tar.gz
    target.awsy.tests.tar.gz:
        <<: *default
        description: "Results for running the awsy testing framework to track memory usage"
        pretty_name: thunderbird-${version}.awsy.tests.tar.gz
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.awsy.tests.tar.gz
    target.test_packages.json:
        <<: *default
        description: "File containing metadata about all other files and testing harnesses specifics"
        pretty_name: thunderbird-${version}.test_packages.json
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.test_packages.json
    target.txt:
        <<: *default
        description: "File containing buildid and revision"
        pretty_name: thunderbird-${version}.txt
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.txt
    target.web-platform.tests.tar.gz:
        <<: *default
        description: "Results for running the webplatform testing framework to cover standard Web platform features"
        pretty_name: thunderbird-${version}.web-platform.tests.tar.gz
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.web-platform.tests.tar.gz
    target.xpcshell.tests.tar.gz:
        <<: *default
        description: "Results for running the xpcshell testing framework to enable XPConnect console application"
        pretty_name: thunderbird-${version}.xpcshell.tests.tar.gz
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.xpcshell.tests.tar.gz
    target_info.txt:
        <<: *default
        description: "File containing the buildID"
        locale_prefix: ''
        pretty_name: ${filename_platform}_info.txt
        checksums_path: ${filename_platform}_info.txt
        destinations:
            - ${version}-candidates/build${build_number}
    mozharness.zip:
        <<: *default
        description: "File containing the mozharness set of scripts and configuration used by various automation tools"
        pretty_name: mozharness.zip
        checksums_path: ${path_platform}/${locale}/mozharness.zip
    target.jsshell.zip:
        <<: *default
        description: "Set of shells to allow test snippets of Javascript code without needing to reload the page"
        locale_prefix: ''
        pretty_name: jsshell-${path_platform}.zip
        checksums_path: jsshell/jsshell-${path_platform}.zip
        destinations:
            - ${version}-candidates/build${build_number}/jsshell
    target.langpack.xpi:
        <<: *default
        all_locales: true
        description: "Localized repack that grabs a packaged en-US Thunderbird and repackages it as locale-specific Thunderbird"
        locale_prefix: ''
        source_path_modifier: '${locale}'
        from:
            - build
        only_for_platforms:
            - linux-shippable
            - linux64-shippable
            - macosx64-shippable
            - win32-shippable
            - win64-shippable
        pretty_name: ${locale}.xpi
        checksums_path: ${path_platform}/xpi/${locale}.xpi
        destinations:
            - ${version}-candidates/build${build_number}/${path_platform}/xpi
    mar:
        <<: *default
        description: "Alongside `mbsdiff`, a tool used to generate partials"
        locale_prefix: ''
        source_path_modifier: 'host/bin'
        pretty_name: ${tools_platform}/mar
        checksums_path: mar-tools/${tools_platform}/mar
        not_for_platforms:
            - win32-shippable
            - win64-shippable
        destinations:
            - ${version}-candidates/build${build_number}/mar-tools
    mbsdiff:
        <<: *default
        description: "Alongside `mar`, a tool used to generate partials"
        locale_prefix: ''
        source_path_modifier: 'host/bin'
        pretty_name: ${tools_platform}/mbsdiff
        checksums_path: mar-tools/${tools_platform}/mbsdiff
        not_for_platforms:
            - win32-shippable
            - win64-shippable
        destinations:
            - ${version}-candidates/build${build_number}/mar-tools
    mar.exe:
        <<: *default
        description: "Alongside `mbsdiff.exe`, a tool used to generate partials for Windows platforms"
        locale_prefix: ''
        source_path_modifier: 'host/bin'
        pretty_name: ${tools_platform}/mar.exe
        checksums_path: mar-tools/${tools_platform}/mar.exe
        only_for_platforms:
            - win32-shippable
            - win64-shippable
        destinations:
            - ${version}-candidates/build${build_number}/mar-tools
    mbsdiff.exe:
        <<: *default
        locale_prefix: ''
        description: "Alongside `mar.exe`, a tool used to generate partials for Windows platforms"
        source_path_modifier: 'host/bin'
        pretty_name: ${tools_platform}/mbsdiff.exe
        checksums_path: mar-tools/${tools_platform}/mbsdiff.exe
        only_for_platforms:
            - win32-shippable
            - win64-shippable
        destinations:
            - ${version}-candidates/build${build_number}/mar-tools
    target.tar.bz2:
        <<: *default
        description: "Main installer for Linux platforms"
        all_locales: true
        from:
            - signing
        only_for_platforms:
            - linux-shippable
            - linux64-shippable
        pretty_name: thunderbird-${version}.tar.bz2
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.tar.bz2
    target.tar.bz2.asc:
        <<: *default
        description: "Detached signature for the checksums file"
        all_locales: true
        from:
            - signing
        only_for_platforms:
            - linux-shippable
            - linux64-shippable
        pretty_name: thunderbird-${version}.tar.bz2.asc
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.tar.bz2.asc
    target.pkg:
        <<: *default
        description: "Main package installer for Mac OS X platforms"
        all_locales: true
        from:
            - signing
        only_for_platforms:
            - macosx64-shippable
        pretty_name: Thunderbird ${version}.pkg
        checksums_path: ${path_platform}/${locale}/Thunderbird ${version}.pkg
    target.dmg:
        <<: *default
        description: "Main package installer for Mac OS X platforms"
        all_locales: true
        from:
            - repackage
        only_for_platforms:
            - macosx64-shippable
        pretty_name: Thunderbird ${version}.dmg
        checksums_path: ${path_platform}/${locale}/Thunderbird ${version}.dmg
    target.zip:
        <<: *default
        description: "Main package installer for Windows platforms"
        all_locales: true
        from:
            - signing
        only_for_platforms:
            - win64-shippable
            - win32-shippable
        pretty_name: thunderbird-${version}.zip
        checksums_path: ${path_platform}/${locale}/thunderbird-${version}.zip
    target.installer.exe:
        <<: *default
        description: "Main installer for Windows platforms"
        all_locales: true
        from:
            - repackage-signing
        only_for_platforms:
            - win64-shippable
            - win32-shippable
        pretty_name: Thunderbird Setup ${version}.exe
        checksums_path: ${path_platform}/${locale}/Thunderbird Setup ${version}.exe
    target.installer.msi:
        <<: *default
        description: "Windows installer for MSI platform"
        all_locales: true
        from:
            - repackage-signing-msi
        only_for_platforms:
            - win64-shippable
            - win32-shippable
        pretty_name: Thunderbird Setup ${version}.msi
        checksums_path: ${path_platform}/${locale}/Thunderbird Setup ${version}.msi
    target.complete.mar:
        <<: *default
        description: "Complete MAR to serve as updates"
        all_locales: true
        from:
            - mar-signing
        pretty_name: thunderbird-${version}.complete.mar
        checksums_path: update/${path_platform}/${locale}/thunderbird-${version}.complete.mar
        update_balrog_manifest: true
        destinations:
            - ${version}-candidates/build${build_number}/update/${path_platform}