summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/github-sync/kind.yml
blob: 7c0b8136c411bd88ccf9ec8c495468e18415df91 (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
46
47
48
49
50
51
52
53
# 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

kind-dependencies:
    - toolchain
    - build

transforms:
    - gecko_taskgraph.transforms.github_sync:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

job-defaults:
    attributes:
        retrigger: true
    run-on-projects: ['mozilla-central-only']
    worker-type: b-linux-gcp
    treeherder:
        platform: other/opt
        tier: 2
        kind: other
    worker:
        max-run-time: 3600
        docker-image: {in-tree: github-sync}
    run:
        sparse-profile: github-sync
        using: run-task

jobs:
    webrender:
        description: Sync webrender to github mirror
        secret: gecko/gfx-github-sync/token
        run:
            command: '$GECKO_PATH/tools/github-sync/sync-to-github.sh webrender gfx/wr servo/webrender @bors-servo'
        when:
            files-changed:
                - 'gfx/wr/**'
        treeherder:
            symbol: GhS(wr)

    qcms:
        description: Sync qcms to github mirror
        secret: gecko/gfx-github-sync/token
        run:
            command: '$GECKO_PATH/tools/github-sync/sync-to-github.sh qcms gfx/qcms FirefoxGraphics/qcms @jrmuizel'
        when:
            files-changed:
                - 'gfx/qcms/**'
        treeherder:
            symbol: GhS(qcms)