tor-browser

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

kind.yml (2466B)


      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 loader: taskgraph.loader.transform:loader
      6 
      7 transforms:
      8    - taskgraph.transforms.from_deps
      9    - gecko_taskgraph.transforms.name_sanity
     10    - gecko_taskgraph.transforms.partials_zucchini
     11    - gecko_taskgraph.transforms.job
     12    - gecko_taskgraph.transforms.task
     13 
     14 kind-dependencies:
     15    - toolchain
     16    - repackage
     17    - repackage-l10n
     18 
     19 only-for-attributes:
     20    - nightly
     21    - shippable
     22 
     23 task-defaults:
     24    run-on-repo-type: [hg]
     25 
     26 only-for-build-platforms:
     27    - macosx64-shippable/opt
     28    - macosx64-devedition/opt
     29    - win32-shippable/opt
     30    - win32-devedition/opt
     31    - win64-shippable/opt
     32    - win64-devedition/opt
     33    - win64-aarch64-shippable/opt
     34    - win64-aarch64-devedition/opt
     35    - linux64-shippable/opt
     36    - linux64-aarch64-shippable/opt
     37    - linux64-devedition/opt
     38    - linux64-aarch64-devedition/opt
     39 
     40 tasks:
     41    zucchini:
     42        from-deps:
     43            copy-attributes: true
     44            group-by: single-with-filters
     45        shipping-phase: promote
     46        # Don't run on CI until we switch to zucchini partials
     47        run-on-projects: []
     48        fetches:
     49            toolchain:
     50                - linux64-zucchini-bin
     51                - linux64-mar-tools
     52        # treeherder: set in transform
     53        worker-type: b-linux
     54        worker:
     55            artifacts:
     56                - name: public/build
     57                  type: directory
     58                  path: /builds/worker/artifacts
     59            docker-image:
     60                in-tree: "debian12-base"
     61            chain-of-trust: true
     62            max-run-time: 5400
     63            env:
     64                # Defined in transform
     65                MAR_CHANNEL_ID: TBD
     66                FROM_MAR_TASK_ID: {"task-reference": "TBD"}
     67        run:
     68            using: run-task
     69            cwd: "{checkout}"
     70            # --from_url, --locale, --target and --arch parameters to be added in transform
     71            command: >-
     72                mkdir -p /builds/worker/artifacts/public/build &&
     73                export PATH=$PATH:$MOZ_FETCHES_DIR &&
     74                export PATH=$PATH:$MOZ_FETCHES_DIR/mar-tools &&
     75                python3
     76                tools/update-packaging/make_incremental_zucchini.py
     77                --workdir=/builds/worker/workspace
     78                --to_mar=$MOZ_FETCHES_DIR/target.complete.mar