From fd291fde6429b3249e52891950287161e03d1916 Mon Sep 17 00:00:00 2001 From: kdoroszko-splunk Date: Mon, 9 Sep 2024 09:54:49 +0200 Subject: [PATCH] chore: add proper log message when argo logs yields with EOF error --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 2d3dc1d..7818874 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -47,4 +47,4 @@ echo "After argo submit $?" echo 'WORKFLOW_NAME:' ${WORKFLOW_NAME} echo "workflow-name=$(echo $WORKFLOW_NAME)" >> $GITHUB_OUTPUT -argo logs --follow ${WORKFLOW_NAME} -n ${2} +argo logs --follow ${WORKFLOW_NAME} -n ${2} || echo "... There was an error fetching the logs. The workflow is still in progress, and the tests are still running. The results will be available in the Test Report step. Please wait for the workflow to complete. ..."