From 4f645bfb3b78f8d9d8e9deccce914146cd1f193c Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 22 Dec 2022 08:33:44 +0100 Subject: gitlabci: fix up premature merge Closes: !4 Signed-off-by: Johannes Schauer Marin Rodrigues --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65bd73d..a688823 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,12 +29,11 @@ simpletest: - ./debvm-create -k ~/.ssh/id.pub -r $RELEASE - timeout 120s ./debvm-run -s 2222 & - | - set -x timeout=5 ts=$(sleepenh 0 || [ $? -eq 1 ]) for i in $(seq 10); do rv=0 - ssh -o StrictHostKeyChecking=no -o ConnectTimeout="$timeout" -i ~/.ssh/id -p 2222 root@localhost echo success || rev=$? + ssh -o StrictHostKeyChecking=no -o ConnectTimeout="$timeout" -i ~/.ssh/id -p 2222 root@localhost echo success || rv=$? test $rv -eq 0 && break ts=$(sleepenh "$ts" "$timeout" || [ $? -eq 1 ]); if test $i -eq 10; then -- cgit v1.2.3