CI: Update slack notifications and remove Alex
Remove Alex from Slack CI notifications, add Achilleas and tag only on failures.
This commit is contained in:
parent
96715c3106
commit
0dcbece2ca
1 changed files with 10 additions and 2 deletions
|
|
@ -8,11 +8,19 @@ if [ -z "${SLACK_WEBHOOK_URL:-}" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$3" == "ga" ]; then
|
if [ "$3" == "ga" ]; then
|
||||||
MESSAGE="\"<$CI_PIPELINE_URL|GA composes pipeline>: *$1* $2, cc <@U01CUGX9L68>, <@U04PYMDRV5H>\""
|
if [ "$1" == "FAILED" ]; then
|
||||||
|
MESSAGE="\"<$CI_PIPELINE_URL|GA composes pipeline>: *$1* $2, cc <@U01S1KWFMFF>, <@U04PYMDRV5H>\""
|
||||||
|
else
|
||||||
|
MESSAGE="\"<$CI_PIPELINE_URL|GA composes pipeline>: *$1* $2\""
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
COMPOSE_ID=$(cat COMPOSE_ID)
|
COMPOSE_ID=$(cat COMPOSE_ID)
|
||||||
COMPOSER_NVR=$(cat COMPOSER_NVR)
|
COMPOSER_NVR=$(cat COMPOSER_NVR)
|
||||||
MESSAGE="\"<$CI_PIPELINE_URL|Nightly pipeline> ($COMPOSE_ID: $COMPOSER_NVR): *$1* $2, cc <@U01CUGX9L68>, <@U04PYMDRV5H>\""
|
if [ "$1" == "FAILED" ]; then
|
||||||
|
MESSAGE="\"<$CI_PIPELINE_URL|Nightly pipeline> ($COMPOSE_ID: $COMPOSER_NVR): *$1* $2, cc <@U01S1KWFMFF>, <@U04PYMDRV5H>\""
|
||||||
|
else
|
||||||
|
MESSAGE="\"<$CI_PIPELINE_URL|Nightly pipeline> ($COMPOSE_ID: $COMPOSER_NVR): *$1* $2\""
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
curl \
|
curl \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue