tor-browser

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

taskgraph.yml (1603B)


      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 diff:
      6    description: Generates diffs of CI changes
      7    platform: linux
      8    worker-type: t-linux-docker-amd
      9    worker:
     10        docker-image: {in-tree: "lint"}
     11        max-run-time: 2400
     12        env:
     13            TASKGRAPH_SERIAL: "1"
     14        # Uncomment to upload logs of the generations as artifacts.
     15        #     XDG_CACHE_HOME: "/builds/worker/artifacts/cache"
     16        artifacts:
     17            - type: directory
     18              name: public/taskgraph
     19              path: /builds/worker/artifacts
     20    attributes:
     21        code-review: true
     22    always-target: true
     23    treeherder:
     24        kind: test
     25        platform: gecko-decision/opt
     26        symbol: tgdiff
     27        tier: 2
     28    task-context:
     29        from-parameters:
     30            base_rev: base_rev
     31        substitution-fields:
     32            - run.command
     33    run-on-repo-type: [hg]
     34    run:
     35        using: run-task
     36        cwd: '{checkout}'
     37        command: >-
     38            mkdir -p /builds/worker/artifacts/diffs &&
     39            ./mach taskgraph target --fast -p "taskcluster/test/params" --force-local-files-changed -o "/builds/worker/artifacts/diffs/diff.txt" --diff {base_rev} &&
     40            python taskcluster/scripts/misc/summarize-tgdiff.py /builds/worker/artifacts/diffs/ 20
     41    when:
     42        files-changed:
     43            - 'taskcluster/kinds/**'
     44            - 'taskcluster/**/*.py'
     45            - 'third_party/python/taskcluster_taskgraph/**/*.py'