tor-browser

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

kind.yml (4395B)


      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    - build
      9    - toolchain
     10 
     11 transforms:
     12    - gecko_taskgraph.transforms.condprof:transforms
     13    - gecko_taskgraph.transforms.job:transforms
     14    - gecko_taskgraph.transforms.task:transforms
     15 
     16 task-defaults:
     17    run-on-repo-type: [hg]
     18    treeherder:
     19        kind: other
     20        tier: 2
     21    scenarios:
     22        - settled
     23    run:
     24        using: run-task
     25        cwd: fetches/condprofile
     26        checkout: false
     27        tooltool-downloads: public
     28    scopes:
     29        - secrets:get:project/releng/gecko/build/level-{level}/conditioned-profiles
     30    worker:
     31        taskcluster-proxy: true
     32        max-run-time: 10800
     33    use-python: default
     34 tasks:
     35    windows2012-64-firefox:
     36        worker-type: b-win2022
     37        description: Creates or updates conditioned profiles on Win64
     38        run-on-projects: ['mozilla-central']
     39        treeherder:
     40            symbol: condprof(firefox)
     41            platform: windows2012-64/opt
     42        index:
     43            product: firefox
     44            job-name: condprof-win64
     45        dependencies:
     46            build: build-win64-shippable/opt
     47        scenarios:
     48            - settled
     49            - full
     50        fetches:
     51            build:
     52                - artifact: target.condprof.tests.tar.zst
     53                - artifact: target.zip
     54            toolchain:
     55                - win64-geckodriver
     56        run:
     57            command: >-
     58                python3.exe condprof/main.py
     59                ${EXTRA_ARGS}
     60                --geckodriver ${MOZ_FETCHES_DIR}/geckodriver.exe
     61                --firefox ${MOZ_FETCHES_DIR}/firefox/firefox.exe
     62                --scenario ${SCENARIO}
     63                ../../archive
     64        worker:
     65            artifacts:
     66                - name: public/condprof
     67                  path: archive
     68                  type: directory
     69    linux64-firefox:
     70        worker-type: b-linux
     71        description: Creates or updates conditioned profiles on Linux
     72        run-on-projects: ['mozilla-central']
     73        treeherder:
     74            symbol: condprof(firefox)
     75            platform: linux64/opt
     76        index:
     77            product: firefox
     78            job-name: condprof-linux64
     79        dependencies:
     80            build: build-linux64-shippable/opt
     81        scenarios:
     82            - settled
     83            - full
     84        fetches:
     85            build:
     86                - artifact: target.condprof.tests.tar.zst
     87                - artifact: target.tar.xz
     88            toolchain:
     89                - linux64-geckodriver
     90        run:
     91            command: >-
     92                python3 -m venv . &&
     93                bin/python3 condprof/main.py
     94                ${EXTRA_ARGS}
     95                --geckodriver ${MOZ_FETCHES_DIR}/geckodriver
     96                --firefox ${MOZ_FETCHES_DIR}/firefox/firefox-bin
     97                --scenario ${SCENARIO}
     98                ../../archive
     99        worker:
    100            docker-image: {in-tree: ubuntu2404-test}
    101            artifacts:
    102                - name: public/condprof
    103                  path: /builds/worker/archive
    104                  type: directory
    105    macosx64-firefox:
    106        worker-type: t-osx-1015-r8
    107        description: Creates or updates conditioned profiles on macOS
    108        run-on-projects: ['mozilla-central']
    109        treeherder:
    110            symbol: condprof(firefox)
    111            platform: macosx1015-64-qr/opt
    112        index:
    113            product: firefox
    114            job-name: condprof-macosx64
    115        dependencies:
    116            build: build-macosx64-shippable/opt
    117        fetches:
    118            build:
    119                - artifact: target.condprof.tests.tar.zst
    120                - artifact: target.dmg
    121                  extract: false
    122            toolchain:
    123                - macosx64-geckodriver
    124        run:
    125            command: >-
    126                python3 -m venv . &&
    127                bin/python3 condprof/main.py
    128                ${EXTRA_ARGS}
    129                --geckodriver ${MOZ_FETCHES_DIR}/geckodriver
    130                --firefox ${MOZ_FETCHES_DIR}/target.dmg
    131                --scenario ${SCENARIO}
    132                ../../archive
    133        worker:
    134            artifacts:
    135                - name: public/condprof
    136                  path: archive
    137                  type: directory