summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/visual-metrics-dep/kind.yml
blob: f2b8994365ab2943bd443165ff8a079a1bce8144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
loader: taskgraph.loader.single_dep:loader

kind-dependencies:
    - fetch
    - test

transforms:
    - taskgraph.transforms.name_sanity:transforms
    - taskgraph.transforms.visual_metrics_dep:transforms
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms

only-for-attributes:
    - run-visual-metrics


job-template:
    description: "Run visual metrics calculations on Raptor"
    run-on-projects: []
    worker-type: t-linux-xlarge

    treeherder:
        tier: 3
        kind: other

    worker:
        docker-image: {in-tree: visual-metrics}
        max-run-time: 1800
        artifacts:
            - type: directory
              name: public/
              path: /builds/worker/artifacts/
    fetches:
        fetch:
            - visual-metrics
    run:
        using: run-task
        command: /builds/worker/bin/run-visual-metrics.py -- --orange --perceptual --contentful --force --renderignore 5 --json --viewport
        checkout: false
    optimization:
        skip-unless-backstop: null