debugging
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-02-27 20:43:20 +01:00
parent 733fa7d4e2
commit bcafd06141

View File

@@ -127,7 +127,7 @@ steps:
- export API_URL="http://e2e$${RUN_ID}.192.168.178.201.nip.io"
- echo "VM_IP=$VM_IP RUN_ID=$RUN_ID API_URL=$API_URL"
- echo "Waiting for VM to be reachable..."
- sshpass -p "$E2E_VM_PASSWORD" ssh -v -o ConnectTimeout=10 debian@$VM_IP "echo ok" 2>&1 || echo "SSH failed with exit code $?"
- timeout 60 bash -c "until sshpass -p \"$E2E_VM_PASSWORD\" ssh debian@$VM_IP 'echo ok'; do sleep 5; done"
- sshpass -p "$E2E_VM_PASSWORD" scp scripts/e2e-test.sh debian@$VM_IP:/tmp/e2e-test.sh
- sshpass -p "$E2E_VM_PASSWORD" ssh debian@$VM_IP "chmod +x /tmp/e2e-test.sh"
- sshpass -p "$E2E_VM_PASSWORD" ssh debian@$VM_IP "REPO_URL=https://gitea.gilmour109.de/gilmour109/calchat.git COMMIT_SHA=$DRONE_COMMIT_SHA API_URL=$API_URL bash /tmp/e2e-test.sh"