summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2022-12-22 08:33:44 +0100
committerHelmut Grohne <helmut@subdivi.de>2022-12-22 08:33:44 +0100
commit4f645bfb3b78f8d9d8e9deccce914146cd1f193c (patch)
treee7ee0a4ce3e958634b4e5afeacd800c68d2547e6 /.gitlab-ci.yml
parentaa3c69cf9751072a461a962f7b81324b18f9dfec (diff)
downloaddebvm-4f645bfb3b78f8d9d8e9deccce914146cd1f193c.tar.gz
gitlabci: fix up premature merge
Closes: !4 Signed-off-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 1 insertions, 2 deletions
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