From 0cc91bda01a04f29dbc65b2a46177b56b6fadd1e Mon Sep 17 00:00:00 2001 From: Oliver Koenig Date: Sat, 31 Aug 2024 21:29:14 -0700 Subject: [PATCH] ADLR/megatron-lm!2025 - ci: Nicer formatting of notifier --- tests/functional_tests/shell_test_utils/notify.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tests/functional_tests/shell_test_utils/notify.sh b/tests/functional_tests/shell_test_utils/notify.sh index d81df53e9c..277d46add1 100644 --- a/tests/functional_tests/shell_test_utils/notify.sh +++ b/tests/functional_tests/shell_test_utils/notify.sh @@ -147,14 +147,7 @@ else "type": "section", "text": { "type": "mrkdwn", - "text": "<'$PIPELINE_URL'|Report of '$DATE' ('$CONTEXT')>: All '$NUM_TOTAL' passed :doge3d:" - } - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "===============================================" + "text": ":doge3d: <'$PIPELINE_URL'|Report of '$DATE' ('$CONTEXT')>: All '$NUM_TOTAL' passed" } } ]' @@ -166,7 +159,7 @@ else "type": "section", "text": { "type": "mrkdwn", - "text": ("<" + $URL + "|Report of " + $DATE + " (" + $CONTEXT + ")>: " + $NUM_FAILED + " of " + $NUM_TOTAL + " failed :doctorge:") + "text": (":doctorge: <" + $URL + "|Report of " + $DATE + " (" + $CONTEXT + ")>: " + $NUM_FAILED + " of " + $NUM_TOTAL + " failed") } } ] + [