From: Eric Engestrom Date: Mon, 31 Jul 2023 16:21:18 +0000 (+0100) Subject: ci: reduce bare-metal retries of poe_run to only 3 attempts X-Git-Tag: upstream/23.3.3~4806 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61d24ea88cee7b19988f899aaf5b7c8b5de0ca02;p=platform%2Fupstream%2Fmesa.git ci: reduce bare-metal retries of poe_run to only 3 attempts 10 is overkill, if we fail that many times in a row we should stop trying on this runner. Signed-off-by: Eric Engestrom Reviewed-by: David Heidelberg Reviewed-by: Juan A. Suarez Part-of: --- diff --git a/.gitlab-ci/bare-metal/poe-powered.sh b/.gitlab-ci/bare-metal/poe-powered.sh index 46aa786..1724b55 100755 --- a/.gitlab-ci/bare-metal/poe-powered.sh +++ b/.gitlab-ci/bare-metal/poe-powered.sh @@ -159,7 +159,7 @@ echo "$BM_CMDLINE" > /tftp/cmdline.txt printf "$BM_BOOTCONFIG" >> /tftp/config.txt set +e -ATTEMPTS=10 +ATTEMPTS=3 while [ $((ATTEMPTS--)) -gt 0 ]; do python3 $BM/poe_run.py \ --dev="$BM_SERIAL" \