tor-browser

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

kind.yml (12835B)


      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 kind-dependencies:
      8    - toolchain
      9    - instrumented-build
     10 
     11 transforms:
     12    - gecko_taskgraph.transforms.build_attrs:transforms
     13    - gecko_taskgraph.transforms.build_schedules:transforms
     14    - gecko_taskgraph.transforms.release_deps:transforms
     15    - gecko_taskgraph.transforms.run_pgo_profile:transforms
     16    - gecko_taskgraph.transforms.job:transforms
     17    - gecko_taskgraph.transforms.task:transforms
     18 
     19 
     20 task-defaults:
     21    run-on-repo-type: [hg]
     22    treeherder:
     23        symbol: Bpgo(run)
     24        kind: build
     25        tier: 1
     26    use-python: default
     27 
     28 tasks:
     29    linux64-shippable/opt:
     30        description: "Linux64 Profile Generation"
     31        shipping-phase: build
     32        shipping-product: firefox
     33        index:
     34            product: firefox
     35            job-name: linux64-profile
     36        treeherder:
     37            platform: linux64-shippable/opt
     38        worker-type: b-linux
     39        worker:
     40            chain-of-trust: true
     41            env:
     42                NEED_XVFB: "true"
     43            max-run-time: 1200
     44            docker-image: {in-tree: ubuntu2404-test}
     45            artifacts:
     46                - type: directory
     47                  name: public/build
     48                  path: /builds/worker/artifacts/
     49        run:
     50            using: run-task
     51            cwd: '{checkout}'
     52            command: >
     53                ./taskcluster/scripts/misc/run-profileserver.sh
     54        run-on-projects: ['release']
     55        fetches:
     56            toolchain:
     57                - linux64-clang
     58                - linux64-minidump-stackwalk
     59 
     60    android-x86_64-shippable/opt:
     61        description: "Android x86_64 Profile Generation"
     62        shipping-phase: build
     63        shipping-product: fennec
     64        index:
     65            product: mobile
     66            job-name: android-x86_64-profile
     67        treeherder:
     68            platform: android-x86_64-shippable/opt
     69        worker-type: b-linux-kvm
     70        worker:
     71            chain-of-trust: true
     72            max-run-time: 2700
     73            kvm: true  # for access to /dev/kvm for hw accel in the emulator
     74            docker-image: {in-tree: ubuntu2404-test}
     75            env:
     76                WORKING_DIR: "/builds/worker"
     77                MOZHARNESS_PATH: "/builds/worker/checkouts/gecko/testing/mozharness"
     78                PYTHON: "/builds/worker/checkouts/gecko/mach python"
     79            artifacts:
     80                - type: directory
     81                  name: public/build
     82                  path: /builds/worker/artifacts/
     83        run:
     84            using: mozharness
     85            job-script: taskcluster/scripts/tester/test-linux.sh
     86            script: android_emulator_pgo.py
     87            tooltool-downloads: internal
     88            options: [installer-path=/builds/worker/fetches/geckoview-test_runner.apk]
     89            config:
     90                - android/android_common.py
     91                - android/android-x86_64-profile-generation.py
     92                - android/android_pgo.py
     93        run-on-projects: ['release']
     94        fetches:
     95            toolchain:
     96                - linux64-clang
     97                - linux64-minidump-stackwalk
     98                - linux64-hostutils
     99                - android-sdk-linux
    100                - linux64-embedded-uniffi-bindgen
    101                - linux64-nimbus-fml
    102                - android34-system-image-x86_64-linux
    103                - android34-avd-x86_64-linux
    104 
    105    android-aarch64-shippable/opt:
    106        description: "Android Aarch64 Profile Generation"
    107        shipping-phase: build
    108        shipping-product: fennec
    109        index:
    110            product: mobile
    111            job-name: android-aarch64-profile
    112        treeherder:
    113            platform: android-aarch64-shippable/opt
    114        worker-type: b-linux-kvm
    115        worker:
    116            chain-of-trust: true
    117            max-run-time: 2700
    118            kvm: true  # for access to /dev/kvm for hw accel in the emulator
    119            docker-image: {in-tree: ubuntu2404-test}
    120            env:
    121                WORKING_DIR: "/builds/worker"
    122                MOZHARNESS_PATH: "/builds/worker/checkouts/gecko/testing/mozharness"
    123                PYTHON: "/builds/worker/checkouts/gecko/mach python"
    124            artifacts:
    125                - type: directory
    126                  name: public/build
    127                  path: /builds/worker/artifacts/
    128        run:
    129            using: mozharness
    130            job-script: taskcluster/scripts/tester/test-linux.sh
    131            script: android_emulator_pgo.py
    132            tooltool-downloads: internal
    133            options: [installer-path=/builds/worker/fetches/geckoview-test_runner.apk]
    134            config:
    135                - android/android_common.py
    136                - android/android-aarch64-profile-generation.py
    137                - android/android_pgo.py
    138        run-on-projects: ['release']
    139        fetches:
    140            toolchain:
    141                - linux64-clang
    142                - linux64-minidump-stackwalk
    143                - linux64-hostutils
    144                - android-sdk-linux
    145                - linux64-embedded-uniffi-bindgen
    146                - linux64-nimbus-fml
    147                - android34-system-image-x86_64-linux
    148                - android34-avd-x86_64-linux
    149 
    150    android-arm-shippable/opt:
    151        description: "Android ARM Profile Generation"
    152        shipping-phase: build
    153        shipping-product: fennec
    154        index:
    155            product: mobile
    156            job-name: android-arm-profile
    157        treeherder:
    158            platform: android-armv7-shippable/opt
    159        worker-type: b-linux-kvm
    160        worker:
    161            chain-of-trust: true
    162            max-run-time: 2700
    163            kvm: true  # for access to /dev/kvm for hw accel in the emulator
    164            docker-image: {in-tree: ubuntu2404-test}
    165            env:
    166                WORKING_DIR: "/builds/worker"
    167                MOZHARNESS_PATH: "/builds/worker/checkouts/gecko/testing/mozharness"
    168                PYTHON: "/builds/worker/checkouts/gecko/mach python"
    169            artifacts:
    170                - type: directory
    171                  name: public/build
    172                  path: /builds/worker/artifacts/
    173        run:
    174            using: mozharness
    175            job-script: taskcluster/scripts/tester/test-linux.sh
    176            script: android_emulator_pgo.py
    177            tooltool-downloads: internal
    178            options: [installer-path=/builds/worker/fetches/geckoview-test_runner.apk]
    179            config:
    180                - android/android_common.py
    181                - android/android-arm-profile-generation.py
    182                - android/android_pgo.py
    183        run-on-projects: ['release']
    184        fetches:
    185            toolchain:
    186                - linux64-clang
    187                - linux64-minidump-stackwalk
    188                - linux64-hostutils
    189                - android-sdk-linux
    190                - linux64-embedded-uniffi-bindgen
    191                - linux64-nimbus-fml
    192                - android30-system-image-x86-linux
    193                - android30-avd-x86-linux
    194 
    195    win32-shippable/opt:
    196        description: "Win32 Profile Generation"
    197        shipping-phase: build
    198        shipping-product: firefox
    199        index:
    200            product: firefox
    201            job-name: win32-profile
    202        treeherder:
    203            platform: windows2012-32-shippable/opt
    204        worker-type: b-win2022
    205        worker:
    206            chain-of-trust: true
    207            max-run-time: 2400
    208            env:
    209                UPLOAD_PATH: "artifacts"
    210            artifacts:
    211                - type: directory
    212                  name: public/build
    213                  path: build/src/artifacts/
    214        run:
    215            using: run-task
    216            sparse-profile: profile-generate
    217            cwd: '{checkout}'
    218            command: ./taskcluster/scripts/misc/run-profileserver.sh
    219        run-on-projects: ['release']
    220        fetches:
    221            toolchain:
    222                - win64-clang-toolchain
    223                - win32-minidump-stackwalk
    224 
    225    win64-shippable/opt:
    226        description: "Win64 Profile Generation"
    227        shipping-phase: build
    228        shipping-product: firefox
    229        index:
    230            product: firefox
    231            job-name: win64-profile
    232        treeherder:
    233            platform: windows2012-64-shippable/opt
    234        worker-type: b-win2022
    235        worker:
    236            chain-of-trust: true
    237            max-run-time: 2400
    238            env:
    239                UPLOAD_PATH: "artifacts"
    240            artifacts:
    241                - type: directory
    242                  name: public/build
    243                  path: build/src/artifacts/
    244        run:
    245            using: run-task
    246            sparse-profile: profile-generate
    247            cwd: '{checkout}'
    248            command: ./taskcluster/scripts/misc/run-profileserver.sh
    249        run-on-projects: ['release']
    250        fetches:
    251            toolchain:
    252                - win64-clang-toolchain
    253                - win32-minidump-stackwalk
    254 
    255    win64-aarch64-shippable/opt:
    256        description: "Win64 AArch64 Profile Generation"
    257        shipping-phase: build
    258        shipping-product: firefox
    259        index:
    260            product: firefox
    261            job-name: win64-aarch64-profile
    262        treeherder:
    263            platform: windows2012-aarch64-shippable/opt
    264        worker-type: b-win-aarch64
    265        worker:
    266            chain-of-trust: true
    267            max-run-time: 2400
    268            env:
    269                UPLOAD_PATH: "artifacts"
    270            artifacts:
    271                - type: directory
    272                  name: public/build
    273                  path: build/src/artifacts/
    274        run:
    275            using: run-task
    276            sparse-profile: profile-generate
    277            cwd: '{checkout}'
    278            command: ./taskcluster/scripts/misc/run-profileserver.sh
    279        run-on-projects: ['release']
    280        fetches:
    281            toolchain:
    282                - win64-clang-toolchain
    283                - win32-minidump-stackwalk
    284 
    285    win64-nightlyasrelease/opt:
    286        description: "Win64 Nightly-as-release Profile Generation"
    287        shipping-phase: build
    288        shipping-product: firefox
    289        index:
    290            product: firefox
    291            job-name: win64-nightlyasrelease-profile
    292        treeherder:
    293            platform: win64-nightlyasrelease/opt
    294        worker-type: b-win2022
    295        worker:
    296            chain-of-trust: true
    297            max-run-time: 2400
    298            env:
    299                UPLOAD_PATH: "artifacts"
    300            artifacts:
    301                - type: directory
    302                  name: public/build
    303                  path: build/src/artifacts/
    304        run:
    305            using: run-task
    306            sparse-profile: profile-generate
    307            cwd: '{checkout}'
    308            command: ./taskcluster/scripts/misc/run-profileserver.sh
    309        run-on-projects: [trunk-only]
    310        fetches:
    311            toolchain:
    312                - win64-clang-toolchain
    313                - win32-minidump-stackwalk
    314 
    315    macosx64-shippable/opt:
    316        description: "macosx64 Profile Generation"
    317        shipping-phase: build
    318        shipping-product: firefox
    319        index:
    320            product: firefox
    321            job-name: macosx64-profile
    322        treeherder:
    323            platform: macosx1015-64-shippable/opt
    324        worker-type: b-osx-1015
    325        worker:
    326            chain-of-trust: true
    327            max-run-time: 7200
    328            env:
    329                SHELL: "/bin/bash"
    330            artifacts:
    331                - type: directory
    332                  name: public/build
    333                  path: artifacts/
    334        run:
    335            using: run-task
    336            sparse-profile: profile-generate
    337            cwd: '{checkout}'
    338            command: ./taskcluster/scripts/misc/run-profileserver-macos.sh
    339        run-on-projects: ['release']
    340        fetches:
    341            toolchain:
    342                - macosx64-clang
    343                - macosx64-minidump-stackwalk
    344 
    345    macosx64-aarch64-shippable/opt:
    346        description: "macosx64 aarch64 Profile Generation"
    347        shipping-phase: build
    348        shipping-product: firefox
    349        index:
    350            product: firefox
    351            job-name: macosx64-aarch64-profile
    352        treeherder:
    353            platform: osx-aarch64-shippable/opt
    354        worker-type: b-osx-arm64
    355        worker:
    356            chain-of-trust: true
    357            max-run-time: 7200
    358            env:
    359                SHELL: "/bin/bash"
    360            artifacts:
    361                - type: directory
    362                  name: public/build
    363                  path: artifacts/
    364        run:
    365            using: run-task
    366            sparse-profile: profile-generate
    367            cwd: '{checkout}'
    368            command: ./taskcluster/scripts/misc/run-profileserver-macos.sh
    369        run-on-projects: ['release']
    370        fetches:
    371            toolchain:
    372                - macosx64-aarch64-clang
    373                - macosx64-aarch64-minidump-stackwalk