From b5ec15b0ab33c8b2f24f0db6626e68b15e19bf14 Mon Sep 17 00:00:00 2001 From: Johan Lorenzo Date: Thu, 28 Jul 2022 11:51:09 +0200 Subject: [PATCH] Bug 1781248 - part 4: Add another email notification when the ship phase is over --- taskcluster/ci/release-notify-ship/kind.yml | 47 +++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 taskcluster/ci/release-notify-ship/kind.yml diff --git a/taskcluster/ci/release-notify-ship/kind.yml b/taskcluster/ci/release-notify-ship/kind.yml new file mode 100644 index 000000000..91c6124fd --- /dev/null +++ b/taskcluster/ci/release-notify-ship/kind.yml @@ -0,0 +1,47 @@ +# 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: + - fenix_taskgraph.transforms.release_deps:transforms + - taskgraph.transforms.release_notifications:transforms + - taskgraph.transforms.task:transforms + +kind-dependencies: + - push-apk + - github-release + - version-bump + - mark-as-shipped + +primary-dependency: push-apk + +group-by: build-type + +only-for-build-types: + - beta + - release + +task-defaults: + attributes: + shipping_phase: ship + name: notify-release-drivers-ship + description: Sends email to release-drivers telling release was shipped. + worker-type: succeed + worker: + implementation: succeed + notifications: + subject: "{config[params][project]} {config[params][version]} build{config[params][build_number]} has been tagged in GitHub" + emails: + by-level: + '3': ["release-signoff@mozilla.org"] + default: ["{config[params][owner]}"] + +tasks: + beta: + attributes: + release-type: beta + release: + attributes: + release-type: release