summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2022-12-22 09:12:06 +0100
committerHelmut Grohne <helmut@subdivi.de>2022-12-22 10:51:44 +0100
commit4aae40776a1cde3c1fc37fc8d26fd9a3c841cef9 (patch)
tree979faa828b8c73ebb15255be2d136587abbdb03f
parentbdbae095951d18694ce787436af5643ef46e7f6b (diff)
downloaddebvm-4aae40776a1cde3c1fc37fc8d26fd9a3c841cef9.tar.gz
gitlabci: enable testing jessie
-rw-r--r--.gitlab-ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5f6030a..3b699fc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,6 +26,7 @@ simpletest:
- bullseye
- buster
- stretch
+ - jessie
script:
- apt-get update
- apt-get dist-upgrade --yes
@@ -35,10 +36,11 @@ simpletest:
- timeout 120s ./debvm-run -s 2222 &
- |
timeout=5
+ sshopt="-o StrictHostKeyChecking=no $(if test "$RELEASE" = jessie; then echo -o PubkeyAcceptedKeyTypes=+ssh-rsa; fi)"
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 || rv=$?
+ ssh $sshopt -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
@@ -46,4 +48,4 @@ simpletest:
exit 1
fi
done
- - ssh -o StrictHostKeyChecking=no -i ~/.ssh/id -p 2222 root@localhost poweroff
+ - ssh $sshopt -i ~/.ssh/id -p 2222 root@localhost poweroff