tor-browser

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

firefox_integration.yml (7092B)


      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 artifacs 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 usefule 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    - pub/firefox/integration
     37 default_locales:
     38    - en-US
     39 tasktype_map:
     40    build: build
     41    signing: signing
     42    repackage: repackage
     43 platform_names:
     44    filename_platform:
     45        by-platform:
     46            linux64: 'linux64'
     47            linux64-aarch64-shippable: 'linux-aarch64'
     48            linux64-asan-reporter-shippable: 'linux-x86_64-asan-reporter'
     49            macosx64: 'mac'
     50            macosx64-shippable: 'mac-shippable'
     51            macosx64-aarch64-shippable: 'mac-aarch64'
     52            win32: 'win32'
     53            win32-shippable: 'win32-shippable'
     54            win64: 'win64'
     55            win64-shippable: 'win64-shippable'
     56            win64-aarch64: 'win64-aarch64'
     57            win64-aarch64-shippable: 'win64-aarch64'
     58            win64-asan-reporter-shippable: 'win64-asan-reporter'
     59 
     60 default: &default
     61    from:
     62        - build
     63    all_locales: false
     64    description: "TO_BE_OVERRIDDEN"
     65    locale_prefix: ''
     66    source_path_modifier:
     67        by-locale:
     68            default: '${locale}'
     69            en-US: ''
     70    destinations:
     71        - ${branch}/${year}/${month}/${day}/${head_rev}
     72    expiry: "8 years"
     73 
     74 mapping:
     75    target.json:
     76        <<: *default
     77        description: "Various compile and moz_app flags baked together in a json file"
     78        pretty_name: firefox-${version}.${locale}.${filename_platform}.json
     79        checksums_path: firefox-${version}.${locale}.${filename_platform}.json
     80    target.mozinfo.json:
     81        <<: *default
     82        description: "Various compile and moz_app flags baked together in a json file"
     83        pretty_name: firefox-${version}.${locale}.${filename_platform}.mozinfo.json
     84        checksums_path: firefox-${version}.${locale}.${filename_platform}.mozinfo.json
     85    target.txt:
     86        <<: *default
     87        description: "File containing buildid and revision"
     88        pretty_name: firefox-${version}.${locale}.${filename_platform}.txt
     89        checksums_path: firefox-${version}.${locale}.${filename_platform}.txt
     90    target_info.txt:
     91        <<: *default
     92        description: "File containing the buildID"
     93        pretty_name: firefox-${version}.${locale}.${filename_platform}_info.txt
     94        checksums_path: firefox-${version}.${locale}.${filename_platform}_info.txt
     95    target.jsshell.zip:
     96        <<: *default
     97        description: "Set of shells to allow test snippets of Javascript code without needing to reload the page"
     98        pretty_name: jsshell-${filename_platform}.zip
     99        checksums_path: jsshell-${filename_platform}.zip
    100    target.tar.xz:
    101        <<: *default
    102        description: "Main installer for Linux platforms"
    103        only_for_platforms:
    104            - linux64
    105            - linux64-shippable
    106            - linux64-aarch64-shippable
    107            - linux64-asan-reporter-shippable
    108        pretty_name: firefox-${version}.${locale}.${filename_platform}.tar.xz
    109        checksums_path: firefox-${version}.${locale}.${filename_platform}.tar.xz
    110    target.dmg:
    111        <<: *default
    112        description: "Main package disk image for Mac OS X platforms"
    113        # Attribution-l10n jobs don't have locale in the artifact path
    114        source_path_modifier: ""
    115        only_for_platforms:
    116            - macosx64
    117            - macosx64-shippable
    118            - macosx64-aarch64-shippable
    119        pretty_name: firefox-${version}.${locale}.${filename_platform}.dmg
    120        checksums_path: firefox-${version}.${locale}.${filename_platform}.dmg
    121    target.zip:
    122        <<: *default
    123        description: "Main package installer for Windows platforms"
    124        only_for_platforms:
    125            - win32
    126            - win32-shippable
    127            - win64
    128            - win64-shippable
    129            - win64-aarch64
    130            - win64-aarch64-shippable
    131            - win64-asan-reporter-shippable
    132        pretty_name: firefox-${version}.${locale}.${filename_platform}.zip
    133        checksums_path: firefox-${version}.${locale}.${filename_platform}.zip
    134    target.installer.exe:
    135        <<: *default
    136        description: "Main installer for Windows platforms"
    137        only_for_platforms:
    138            - win32
    139            - win32-shippable
    140            - win64
    141            - win64-shippable
    142            - win64-aarch64
    143            - win64-aarch64-shippable
    144            - win64-asan-reporter-shippable
    145        pretty_name: firefox-${version}.${locale}.${filename_platform}.installer.exe
    146        checksums_path: firefox-${version}.${locale}.${filename_platform}.installer.exe