Skip to content

Commit 0dcbece

Browse files
tkoscielnachilleas-k
authored andcommitted
CI: Update slack notifications and remove Alex
Remove Alex from Slack CI notifications, add Achilleas and tag only on failures.
1 parent 96715c3 commit 0dcbece

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

schutzbot/slack_notification.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,19 @@ if [ -z "${SLACK_WEBHOOK_URL:-}" ]; then
88
fi
99

1010
if [ "$3" == "ga" ]; then
11-
MESSAGE="\"<$CI_PIPELINE_URL|GA composes pipeline>: *$1* $2, cc <@U01CUGX9L68>, <@U04PYMDRV5H>\""
11+
if [ "$1" == "FAILED" ]; then
12+
MESSAGE="\"<$CI_PIPELINE_URL|GA composes pipeline>: *$1* $2, cc <@U01S1KWFMFF>, <@U04PYMDRV5H>\""
13+
else
14+
MESSAGE="\"<$CI_PIPELINE_URL|GA composes pipeline>: *$1* $2\""
15+
fi
1216
else
1317
COMPOSE_ID=$(cat COMPOSE_ID)
1418
COMPOSER_NVR=$(cat COMPOSER_NVR)
15-
MESSAGE="\"<$CI_PIPELINE_URL|Nightly pipeline> ($COMPOSE_ID: $COMPOSER_NVR): *$1* $2, cc <@U01CUGX9L68>, <@U04PYMDRV5H>\""
19+
if [ "$1" == "FAILED" ]; then
20+
MESSAGE="\"<$CI_PIPELINE_URL|Nightly pipeline> ($COMPOSE_ID: $COMPOSER_NVR): *$1* $2, cc <@U01S1KWFMFF>, <@U04PYMDRV5H>\""
21+
else
22+
MESSAGE="\"<$CI_PIPELINE_URL|Nightly pipeline> ($COMPOSE_ID: $COMPOSER_NVR): *$1* $2\""
23+
fi
1624
fi
1725

1826
curl \

0 commit comments

Comments
 (0)