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

This commit is contained in:
2026-02-27 20:23:30 +01:00
parent 18f722aa30
commit 783d02f2e8

View File

@@ -125,6 +125,7 @@ steps:
- export VM_IP=192.168.178.$((211 + DRONE_BUILD_NUMBER % 44)) - export VM_IP=192.168.178.$((211 + DRONE_BUILD_NUMBER % 44))
- export RUN_ID=$(echo $DRONE_COMMIT_SHA | head -c 8) - export RUN_ID=$(echo $DRONE_COMMIT_SHA | head -c 8)
- export API_URL="http://e2e$${RUN_ID}.192.168.178.201.nip.io" - 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..." - echo "Waiting for VM to be reachable..."
- timeout 120 bash -c "until sshpass -p '$E2E_VM_PASSWORD' ssh debian@$VM_IP 'echo ok' 2>/dev/null; do sleep 5; done" - timeout 120 bash -c "until sshpass -p '$E2E_VM_PASSWORD' ssh debian@$VM_IP 'echo ok' 2>/dev/null; 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" scp scripts/e2e-test.sh debian@$VM_IP:/tmp/e2e-test.sh