summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/release-notify-av-announce/kind.yml
blob: c9f53efc78d9e4c28a1d18f3208e1cd0ce48fdca (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
# 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.release_deps:transforms
    - gecko_taskgraph.transforms.release_notifications:transforms
    - gecko_taskgraph.transforms.task:transforms

kind-dependencies:
    - post-beetmover-dummy

job-defaults:
    name: notify-av-announce
    description: Sends email to antivirus vendors telling them that the release is available for scanning.
    run-on-projects: []
    shipping-phase: push
    worker-type: succeed
    worker:
        implementation: succeed
    notifications:
        # !t is a custom format option that calls .title() on the string.
        subject: "{task[shipping-product]!t} {release_config[version]} build{release_config[build_number]} release"
        message: |
            Company Name: Mozilla
            Contact Department: Release Engineering
            Contact email address: release@mozilla.com
            Product information: {task[shipping-product]} {release_config[version]}
            Product location: https://releases.mozilla.org/pub/{task[shipping-product]}/candidates/{release_config[version]}-candidates/build{release_config[build_number]}/
        emails:
            by-project:
                mozilla-(beta|release|esr.*): ["av-vendor-release-announce@mozilla.org"]
                try: ["{config[params][owner]}"]
                default: []

jobs:
    firefox:
        shipping-product: firefox
    devedition:
        shipping-product: devedition