File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,16 @@ function turtle()
74
74
error " \"\" \"\" \"\" "
75
75
}
76
76
77
+ function turtleDead()
78
+ {
79
+ error " ,, ,, ,, "
80
+ error " \\ ‾\\ ,-/‾/====/‾/, "
81
+ error " \\ /=<‾><‾><‾><‾>-, "
82
+ error " / (\\ ‾\\ ‾|‾/‾/‾/‾ "
83
+ error " \\ ‾x/ ˙'-;-;-'˙ "
84
+ error " ‾‾ "
85
+ }
86
+
77
87
function thoughtBubble()
78
88
{
79
89
@@ -327,12 +337,12 @@ function status()
327
337
curl --connect-timeout $CURL_CONNECT_TIMEOUT -s ${2} /api/workflows/v1/${1} /status > $f
328
338
[[ $? -ne 0 ]] && error " Could not connect to Cromwell server." && return 2
329
339
330
- grep -qE ' "Failed"|"Aborted"' $f
340
+ grep -qE ' "Failed"|"Aborted"|"fail" ' $f
331
341
r=$?
332
342
[[ $r -eq 0 ]] && retVal=1
333
343
334
344
if [[ $retVal -eq 1 ]]; then
335
- turtle " dead "
345
+ turtleDead
336
346
else
337
347
turtle
338
348
fi
You can’t perform that action at this time.
0 commit comments