summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/code-review/kind.yml
blob: 77f5215647b472c308a84f02495d5aa752b1a85b (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
# 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.transform:loader

transforms:
    - taskgraph.transforms.code_review:transforms
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms

kind-dependencies:
    - source-test

jobs:
    issues:
        label: code-review-issues
        description: List all issues found in static analysis and linting tasks
        worker-type: b-linux

        # Only run by using the code-review target_tasks_method
        run-on-projects: []

        # This option permits to run the task
        # regardless of the soft-dependencies tasks exit status
        # as we are interested in the task failures
        requires: all-resolved

        # Publish on pulse
        routes:
            - project.relman.codereview.v1.try_ending

        # Dummy execution for now, we only need the pulse message
        worker:
            docker-image:
                in-tree: debian10-amd64-build
            max-run-time: 600
        run:
            using: run-task
            checkout: false
            command: /bin/true