commit 5fce2b527303670e554f0cfd62c533974981ba39
parent dddfa6d699551d0fe0167377ea1b59fe755cc5e2
Author: Aaron Train <aaron.train@gmail.com>
Date: Tue, 14 Oct 2025 14:20:32 +0000
Bug 1989646 - Seperate out shipping product in notify for ui-test-apk r=ajoltan
Splits out shipping product notify with new minor cosmetic adjustments to the Slack payloads for `ui-test-apk` tasks
Differential Revision: https://phabricator.services.mozilla.com/D268025
Diffstat:
1 file changed, 126 insertions(+), 45 deletions(-)
diff --git a/taskcluster/kinds/ui-test-apk/kind.yml b/taskcluster/kinds/ui-test-apk/kind.yml
@@ -58,53 +58,134 @@ task-defaults:
notify:
by-level:
'3':
- slackText: 'https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId} | ${task.metadata.name} | ${task.metadata.source}'
- slackBlocks: |
- [
- {
- "type": "header",
- "text": {
- "type": "plain_text",
- "text": "firefox-android :firefox: ${task.metadata.name} :x:\n "
- }
- },
- {
- "type": "divider"
- },
- {
- "type": "section",
- "text": {
- "type": "mrkdwn",
- "text": "*Task*: <https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId}|Taskcluster>"
- }
- },
- {
- "type": "section",
- "text": {
- "type": "mrkdwn",
- "text": "*Owner*: ${task.metadata.owner}"
- }
- },
- {
- "type": "section",
- "text": {
- "type": "mrkdwn",
- "text": "*Source*: <${task.payload.env.GECKO_BASE_REPOSITORY}/rev/${task.payload.env.GECKO_HEAD_REV}|Commit> :hg:"
- }
- },
- {
- "type": "divider"
- },
- {
- "type": "context",
- "elements": [
+ by-shipping-product:
+ fenix:
+ slackText: 'https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId} | ${task.metadata.name} | ${task.metadata.source}'
+ slackBlocks: |
{
- "type": "mrkdwn",
- "text": ":testops-notify: created by <https://mozilla-hub.atlassian.net/wiki/spaces/MTE/overview|Mobile Test Engineering>"
+ "attachments": [
+ {
+ "color": "#FF0000",
+ "blocks": [
+ {
+ "type": "header",
+ "text": {
+ "type": "plain_text",
+ "text": "Firefox for Android :firefox:"
+ }
+ },
+ {
+ "type": "header",
+ "text": {
+ "type": "plain_text",
+ "text": "${task.metadata.name}"
+ }
+ },
+ {
+ "type": "section",
+ "fields": [
+ {
+ "type": "mrkdwn",
+ "text": "*Task:*\n<https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId}|Taskcluster>"
+ },
+ {
+ "type": "mrkdwn",
+ "text": "*Owner:*\n${task.metadata.owner}"
+ },
+ {
+ "type": "mrkdwn",
+ "text": "*Project:*\n${task.tags.project}"
+ },
+ {
+ "type": "mrkdwn",
+ "text": "*Treeherder:*\n<https://treeherder.mozilla.org/jobs?repo=${task.tags.project}&revision=${task.payload.env.GECKO_HEAD_REV}|View Jobs>"
+ },
+ {
+ "type": "mrkdwn",
+ "text": "*Source:*\n<${task.payload.env.GECKO_BASE_REPOSITORY}/rev/${task.payload.env.GECKO_HEAD_REV}|Commit> :hg:"
+ }
+ ]
+ },
+ {
+ "type": "divider"
+ },
+ {
+ "type": "context",
+ "elements": [
+ {
+ "type": "mrkdwn",
+ "text": ":testops-notify: Mobile Test Engineering"
+ }
+ ]
+ }
+ ]
+ }
+ ]
}
- ]
- }
- ]
+ focus:
+ slackText: 'https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId} | ${task.metadata.name} | ${task.metadata.source}'
+ slackBlocks: |
+ {
+ "attachments": [
+ {
+ "color": "#FF0000",
+ "blocks": [
+ {
+ "type": "header",
+ "text": {
+ "type": "plain_text",
+ "text": "Focus for Android :focusandroid:"
+ }
+ },
+ {
+ "type": "header",
+ "text": {
+ "type": "plain_text",
+ "text": "${task.metadata.name}"
+ }
+ },
+ {
+ "type": "section",
+ "fields": [
+ {
+ "type": "mrkdwn",
+ "text": "*Task:*\n<https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId}|Taskcluster>"
+ },
+ {
+ "type": "mrkdwn",
+ "text": "*Owner:*\n${task.metadata.owner}"
+ },
+ {
+ "type": "mrkdwn",
+ "text": "*Project:*\n${task.tags.project}"
+ },
+ {
+ "type": "mrkdwn",
+ "text": "*Treeherder:*\n<https://treeherder.mozilla.org/jobs?repo=${task.tags.project}&revision=${task.payload.env.GECKO_HEAD_REV}|View Jobs>"
+ },
+ {
+ "type": "mrkdwn",
+ "text": "*Source:*\n<${task.payload.env.GECKO_BASE_REPOSITORY}/rev/${task.payload.env.GECKO_HEAD_REV}|Commit> :hg:"
+ }
+ ]
+ },
+ {
+ "type": "divider"
+ },
+ {
+ "type": "context",
+ "elements": [
+ {
+ "type": "mrkdwn",
+ "text": ":testops-notify: Mobile Test Engineering"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ default: {}
'default': {}
tasks: