summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/sentry/kind.yml
blob: bfc3cf07a2eb29dae660cad75f685b6bda9a409e (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
# 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.sentry:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

jobs:
    mach-release:
        description: Inform Sentry of new revisions (aka Mach releases)
        worker-type: b-linux-gcp
        worker:
            taskcluster-proxy: true
            max-run-time: 3600
            docker-image: {in-tree: sentry}
            env:
                HG_PUSHLOG_URL: "{head_repository}/json-pushes?version=2&changeset={head_rev}"
                SENTRY_SECRET: "project/engwf/gecko/{level}/tokens"
        scopes:
            - "secrets:get:project/engwf/gecko/{level}/tokens"
        run:
            using: run-task
            checkout: false
            command: /bin/bash /usr/bin/submit_sentry_release.sh
        run-on-projects: ['mozilla-central']
        treeherder:
            symbol: Sentry(mach-release)
            platform: other/opt
            tier: 2
            kind: other