summaryrefslogtreecommitdiff
path: root/.gitlab-ci/bare-metal
diff options
context:
space:
mode:
authorEric Engestrom <eric@igalia.com>2023-07-31 17:21:18 +0100
committerMarge Bot <emma+marge@anholt.net>2023-08-02 11:23:44 +0000
commit61d24ea88cee7b19988f899aaf5b7c8b5de0ca02 (patch)
tree52b25647892ffffd7b2ddb0279f689232c375845 /.gitlab-ci/bare-metal
parent52ee1f6fa68ef9593bf34a958c2f584c331d9f4b (diff)
downloadmesa-61d24ea88cee7b19988f899aaf5b7c8b5de0ca02.tar.gz
mesa-61d24ea88cee7b19988f899aaf5b7c8b5de0ca02.tar.bz2
mesa-61d24ea88cee7b19988f899aaf5b7c8b5de0ca02.zip
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 <eric@igalia.com> Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24407>
Diffstat (limited to '.gitlab-ci/bare-metal')
-rwxr-xr-x.gitlab-ci/bare-metal/poe-powered.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci/bare-metal/poe-powered.sh b/.gitlab-ci/bare-metal/poe-powered.sh
index 46aa7864f66..1724b55d098 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" \