tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

apk_candidates.yml (5043B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 ---
      5 # This file contains exhaustive information about all the release artifacts that
      6 # are needed within a type of release.
      7 #
      8 # Structure
      9 # --------
     10 # `s3_bucket_paths`       -- prefix to be used per product to correctly access our S3 buckets
     11 # `default_locales`       -- list of locales to be used when composing upstream artifacts or the list of
     12 #                      destinations. If given an empty locale, it uses these locales instead.
     13 # `tasktype_map`          -- mapping between task reference and task type, particularly useful when
     14 #                      composing the upstreamArtifacts for scriptworker.
     15 # `platform_names`        -- various platform mappings used in reckoning artifacts or other paths
     16 # `default`               -- a default entry, which the mappings extend and override in such a way that
     17 #                      final path full-destinations will be a concatenation of the following:
     18 #                      `s3_bucket_paths`, `destinations`, `locale_prefix`, `pretty_name`
     19 # `from`                  -- specifies the dependency(ies) from which to expect the particular artifact
     20 # `all_locales`           -- boolean argument to specify whether that particular artifact is to be expected
     21 #                      for all locales or just the default one
     22 # `description`           -- brief summary of what that artifact is
     23 # `locale_prefix`         -- prefix to be used in the final destination paths, whether that's for default locale or not
     24 # `source_path_modifier`  -- any parent dir that might be used in between artifact prefix and filename at source location
     25 #                            for example `public/build` vs `public/build/ach/`.
     26 # `destinations`          -- final list of directories where to push the artifacts in S3
     27 # `pretty_name`           -- the final name the artifact will have at destination
     28 # `checksums_path`        -- the name to identify one artifact within the checksums file
     29 # `not_for_platforms`     -- filtering option to avoid associating an artifact with a specific platform
     30 # `only_for_platforms`    -- filtering option to exclusively include the association of an artifact for a specific platform
     31 # `partials_only`         -- filtering option to avoid associating an artifact unless this flag is present
     32 # `update_balrog_manifest`-- flag needed downstream in beetmover jobs to reckon the balrog manifest
     33 # `from_buildid`          -- flag needed downstream in beetmover jobs to reckon the balrog manifest
     34 
     35 s3_bucket_paths:
     36    by-build-type:
     37        fenix-nightly:
     38            - pub/fenix/nightly
     39        fenix-(release|beta):
     40            - pub/fenix/candidates
     41        focus-nightly:
     42            - pub/focus/nightly
     43        focus-beta|focus-release|klar-release:
     44            - pub/focus/candidates
     45 default_locales:
     46    - multi
     47 tasktype_map:
     48    signing-apk: signing
     49    signing-bundle: signing
     50 platform_names:
     51    product:
     52        by-platform:
     53            focus.*: focus
     54            fenix.*: fenix
     55            klar.*: klar
     56 
     57 default: &default
     58    all_locales: true
     59    description: "TO_BE_OVERRIDDEN"
     60    # Hard coded 'multi' locale
     61    locale_prefix: '${locale}'
     62    source_path_modifier:
     63        by-locale:
     64            default: '${locale}'
     65            multi: ''
     66    checksums_path: "TODO"
     67 
     68 mapping:
     69    target.arm64-v8a.apk:
     70        <<: *default
     71        description: "Android package for arm64-v8a"
     72        pretty_name: ${product}-${version}.${locale}.android-arm64-v8a.apk
     73        destinations:
     74            - ${folder_prefix}${product}-${version}-android-arm64-v8a
     75        from:
     76            - signing-apk
     77    target.armeabi-v7a.apk:
     78        <<: *default
     79        description: "Android package for armeabi-v7a"
     80        pretty_name: ${product}-${version}.${locale}.android-armeabi-v7a.apk
     81        destinations:
     82            - ${folder_prefix}${product}-${version}-android-armeabi-v7a
     83        from:
     84            - signing-apk
     85    target.x86_64.apk:
     86        <<: *default
     87        description: "Android package for x86_64"
     88        pretty_name: ${product}-${version}.${locale}.android-x86_64.apk
     89        destinations:
     90            - ${folder_prefix}${product}-${version}-android-x86_64
     91        from:
     92            - signing-apk
     93    target.universal.apk:
     94        <<: *default
     95        description: "Android universal package"
     96        pretty_name: ${product}-${version}.${locale}.android-universal.apk
     97        destinations:
     98            - ${folder_prefix}${product}-${version}-android
     99        from:
    100            - signing-apk
    101        only_for_platforms:
    102            - fenix-nightly
    103            - fenix-beta
    104            - fenix-release
    105    target.aab:
    106        <<: *default
    107        description: "Android app bundle"
    108        pretty_name: ${product}-${version}.${locale}.android.aab
    109        destinations:
    110            - ${folder_prefix}${product}-${version}-android
    111        from:
    112            - signing-bundle