debugging
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2026-02-27 20:59:11 +01:00
parent 74bdc3ad91
commit 95f249a401

View File

@@ -128,9 +128,13 @@ steps:
- echo "VM_IP=$VM_IP RUN_ID=$RUN_ID API_URL=$API_URL"
- echo "Waiting for VM to be reachable..."
- timeout 60 bash -c "until sshpass -p \"$E2E_VM_PASSWORD\" ssh debian@$VM_IP 'echo ok'; do sleep 5; done"
- echo "=== SCP script ==="
- sshpass -p "$E2E_VM_PASSWORD" scp scripts/e2e-test.sh debian@$VM_IP:/tmp/e2e-test.sh
- echo "=== chmod ==="
- sshpass -p "$E2E_VM_PASSWORD" ssh debian@$VM_IP "chmod +x /tmp/e2e-test.sh"
- echo "=== running 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"
- echo "=== SCP results ==="
- sshpass -p "$E2E_VM_PASSWORD" scp debian@$VM_IP:/tmp/e2e-results.txt /tmp/e2e-results.txt
- name: notify_failure