remove ssh verbosity and add smoke test
All checks were successful
Deploy to my-vpn / deploy (push) Successful in 15s
All checks were successful
Deploy to my-vpn / deploy (push) Successful in 15s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -25,6 +25,7 @@ jobs:
|
|||||||
echo "using user=${VPN_USER} host=${VPN_HOST}"
|
echo "using user=${VPN_USER} host=${VPN_HOST}"
|
||||||
ssh-keyscan -H "$VPN_HOST" >> ~/.ssh/known_hosts || true
|
ssh-keyscan -H "$VPN_HOST" >> ~/.ssh/known_hosts || true
|
||||||
ssh-keygen -lf ~/.ssh/id_ci_runner
|
ssh-keygen -lf ~/.ssh/id_ci_runner
|
||||||
ssh -vvv -o BatchMode=yes -o ConnectTimeout=10 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ci_runner "${VPN_USER}@${VPN_HOST}" "echo ok"
|
ssh -o BatchMode=yes -o ConnectTimeout=10 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ci_runner "${VPN_USER}@${VPN_HOST}" "echo ok"
|
||||||
|
|
||||||
ssh -o BatchMode=yes -o ConnectTimeout=10 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ci_runner "${VPN_USER}@${VPN_HOST}" "cd /srv/ip-ua && git fetch --all && git reset --hard origin/main && bash deploy/my-vpn/deploy.sh"
|
ssh -o BatchMode=yes -o ConnectTimeout=10 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ci_runner "${VPN_USER}@${VPN_HOST}" "cd /srv/ip-ua && git fetch --all && git reset --hard origin/main && bash deploy/my-vpn/deploy.sh"
|
||||||
|
curl -fsS "http://${VPN_HOST}" | head -c 200
|
||||||
|
|||||||
Reference in New Issue
Block a user