mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-11 02:31:28 +01:00
ci-automation: fix broken result indicators in test reports
The CI automation test report library used embedded images to indicate test success / failures. The URL these images were referenced from has gone AWOL some time ago, resulting in ugly "missing image" references in test reports. This change updates the test result indicator code to only use emojis. Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
This commit is contained in:
parent
8a60199682
commit
bb0fbb3ecd
@ -279,18 +279,18 @@ __md_print_test_verdict() {
|
||||
local failed_vendors="$4"
|
||||
|
||||
|
||||
v=""
|
||||
v="🟢 ${verdict}"
|
||||
if [ "${verdict}" = "not ok" ] ; then
|
||||
v=""
|
||||
v="❌ ${verdict}"
|
||||
fi
|
||||
|
||||
echo
|
||||
echo -n "${v} **${name}**"
|
||||
if [ -n "${succeded_vendors}" ] ; then
|
||||
echo -n " 🟢 Succeeded: ${succeded_vendors}"
|
||||
echo -n "; Succeeded: ${succeded_vendors}"
|
||||
fi
|
||||
if [ -n "${failed_vendors}" ] ; then
|
||||
echo -n " ❌ Failed: ${failed_vendors}"
|
||||
echo -n "; Failed: ${failed_vendors}"
|
||||
fi
|
||||
echo
|
||||
if [ "${verdict}" = "not ok" ] \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user