tor-browser

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

file-metadata.yml (6643B)


      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 task-defaults:
      6    platform: lint/opt
      7    treeherder:
      8        kind: other
      9        tier: 1
     10    worker-type: t-linux-docker-amd
     11    worker:
     12        artifacts:
     13            - type: directory
     14              path: /builds/worker/artifacts
     15              name: public
     16        docker-image: {in-tree: "lint"}
     17        max-run-time: 1800
     18    run-on-repo-type: [hg]
     19    run:
     20        using: mach
     21 
     22 bugzilla-components:
     23    description: Generate metadata about source files and Bugzilla
     24    treeherder:
     25        symbol: Bugzilla
     26        tier: 1
     27    index:
     28        product: source
     29        job-name: source-bugzilla-info
     30    run:
     31        mach: file-info bugzilla-automation /builds/worker/artifacts
     32    worker:
     33        max-run-time: 1800
     34    run-on-projects: ['autoland', 'mozilla-central']
     35 
     36 test-info-xorigin:
     37    description: Generate test manifest metadata for tests disabled on cross-origin
     38    use-python: "3.11"
     39    treeherder:
     40        symbol: test-info(xorigin)
     41        tier: 2
     42    index:
     43        product: source
     44        job-name: test-info-xorigin
     45    worker:
     46        docker-image: {in-tree: debian12-amd64-build}
     47    run-on-projects: ['mozilla-central']
     48    fetches:
     49        toolchain:
     50            - linux64-clang
     51            - linux64-clang-tidy
     52            - linux64-rust
     53            - linux64-cbindgen
     54            - linux64-nasm
     55            - linux64-node
     56            - linux64-pkgconf
     57            - sysroot-x86_64-linux-gnu
     58            - sysroot-wasm32-wasi
     59    run:
     60        using: run-task
     61        cwd: '{checkout}'
     62        command: >-
     63            source taskcluster/scripts/misc/source-test-common.sh &&
     64            ./mach test-info report --show-tests --show-summary --filter-keys=fail-if,fails-if,random-if,skip-if --filter-values='(?<!!)xorigin' --output-file /builds/worker/artifacts/test-info-xorigin.json
     65 
     66 test-info-disabled-by-os:
     67    description: Generate test manifest metadata for tests disabled on each operating system
     68    use-python: "3.11"
     69    treeherder:
     70        symbol: test-info(disabled-by-os)
     71        tier: 2
     72    index:
     73        product: source
     74        job-name: test-info-disabled-by-os
     75    worker:
     76        docker-image: {in-tree: debian12-amd64-build}
     77    run-on-projects: ['mozilla-central']
     78    fetches:
     79        toolchain:
     80            - linux64-clang
     81            - linux64-clang-tidy
     82            - linux64-rust
     83            - linux64-cbindgen
     84            - linux64-nasm
     85            - linux64-node
     86            - linux64-pkgconf
     87            - sysroot-x86_64-linux-gnu
     88            - sysroot-wasm32-wasi
     89    run:
     90        using: run-task
     91        cwd: '{checkout}'
     92        command: >-
     93            source taskcluster/scripts/misc/source-test-common.sh &&
     94            ./mach test-info report --show-tests --show-summary --filter-keys=fail-if,fails-if,random-if,skip-if --filter-values='(?<!!)(android|android_version|Android|AndroidVersion|geckoview|emulator|device)' --output-file /builds/worker/artifacts/test-info-disabled-on-android.json &&
     95            ./mach test-info report --show-tests --show-summary --filter-keys=fail-if,fails-if,random-if,skip-if --filter-values='(?<!!)(linux|Linux)' --output-file /builds/worker/artifacts/test-info-disabled-on-linux.json &&
     96            ./mach test-info report --show-tests --show-summary --filter-keys=fail-if,fails-if,random-if,skip-if --filter-values='(?<!!)(osx|OSX|mac)' --output-file /builds/worker/artifacts/test-info-disabled-on-mac.json &&
     97            ./mach test-info report --show-tests --show-summary --filter-keys=fail-if,fails-if,random-if,skip-if --filter-values='(?<!!)(win|Windows|WINNT)' --output-file /builds/worker/artifacts/test-info-disabled-on-windows.json
     98 
     99 test-info-all:
    100    description: Generate global test manifest metadata
    101    treeherder:
    102        symbol: test-info(all)
    103        tier: 2
    104    index:
    105        product: source
    106        job-name: test-info-all
    107    worker:
    108        docker-image: {in-tree: debian12-amd64-build}
    109        max-run-time: 5400
    110    run-on-projects: ['mozilla-central']
    111    fetches:
    112        toolchain:
    113            - linux64-clang
    114            - linux64-clang-tidy
    115            - linux64-rust
    116            - linux64-cbindgen
    117            - linux64-nasm
    118            - linux64-node
    119            - linux64-pkgconf
    120            - sysroot-x86_64-linux-gnu
    121            - sysroot-wasm32-wasi
    122    use-python: "3.11"
    123    run:
    124        using: run-task
    125        cwd: '{checkout}'
    126        command: >-
    127            source taskcluster/scripts/misc/source-test-common.sh &&
    128            ./mach test-info testrun-report --output-file /builds/worker/artifacts/test-run-info.json &&
    129            ./mach test-info report --show-tests --show-summary --show-testruns --verbose --output-file /builds/worker/artifacts/test-info-all-tests.json --config-matrix-output-file /builds/worker/artifacts/test-info-testrun-matrix.json --runcounts-input-file /builds/worker/artifacts/test-run-info.json &&
    130            ./mach test-info report --show-annotations --output-file /builds/worker/artifacts/test-info-manifest-conditions.json
    131 
    132 test-info-xpcshell-timings-daily:
    133    description: Generate xpcshell test timing data
    134    treeherder:
    135        symbol: test-info(xpcshell-timings-daily)
    136        tier: 2
    137    index:
    138        product: source
    139        job-name: test-info-xpcshell-timings
    140    worker:
    141        docker-image: {in-tree: debian12-amd64-build}
    142        max-run-time: 3600
    143        env:
    144            MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system
    145    run-on-projects: []
    146    fetches:
    147        toolchain:
    148            - linux64-node
    149    use-python: "3.11"
    150    run:
    151        using: run-task
    152        cwd: '{checkout}'
    153        command: >-
    154            source taskcluster/scripts/misc/source-test-common.sh &&
    155            ./mach test-info xpcshell-timings --days 21 --output-dir /builds/worker/artifacts/
    156 
    157 test-info-xpcshell-timings-rev:
    158    description: Generate xpcshell test timing data
    159    treeherder:
    160        symbol: test-info(xpcshell-timings)
    161        tier: 2
    162    worker:
    163        docker-image: {in-tree: debian12-amd64-build}
    164        max-run-time: 1800
    165        env:
    166            MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system
    167    run-on-projects: []
    168    fetches:
    169        toolchain:
    170            - linux64-node
    171    use-python: "3.11"
    172    run:
    173        using: run-task
    174        cwd: '{checkout}'
    175        command: >-
    176            source taskcluster/scripts/misc/source-test-common.sh &&
    177            ./mach test-info xpcshell-timings --revision=current --output-dir /builds/worker/artifacts/