summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/trigger-comm-central/kind.yml
blob: 0b6dfb2c64b273686a91d7b8a62e57500ea2eb56 (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
# 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: gecko_taskgraph.loader.transform:loader

transforms:
    - gecko_taskgraph.transforms.trigger_comm_central:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

job-defaults:
    run-on-projects: ['mozilla-central-only']
    treeherder:
        kind: other
        platform: other/opt
        tier: 2
    worker-type: b-linux-gcp
    worker:
        docker-image: {in-tree: debian12-amd64-build}
        max-run-time: 600
        taskcluster-proxy: true
    run:
        using: run-task
        checkout: false

jobs:
    tb-rust:
        description: 'Schedule job to verify the comm-central copy of third_party/rust'
        treeherder:
            symbol: tb-rust
        run:
            command: '/usr/bin/curl --fail --verbose -X POST -d "{}" -H "Content-Type: application/json" ${TASKCLUSTER_PROXY_URL}/api/hooks/v1/hooks/project-releng/cron-task-comm-central%2ftb-rust-vendor-check/trigger'
        when:
            files-changed:
                - Cargo.lock
                - Cargo.toml
                - toolkit/library/rust/shared/Cargo.toml
        scopes:
            by-level:
                '3':
                    - 'hooks:trigger-hook:project-releng/cron-task-comm-central/tb-rust-vendor-check'
                default: []