From 61d24ea88cee7b19988f899aaf5b7c8b5de0ca02 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 31 Jul 2023 17:21:18 +0100 Subject: [PATCH] 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: --- .gitlab-ci/bare-metal/poe-powered.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" \ -- 2.7.4