use raw controller

This commit is contained in:
Adam Wilson
2025-05-19 21:41:14 -06:00
parent 8def474734
commit d1c87d4cdf
9 changed files with 167 additions and 155 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
#!/bin/bash
set -e # Exit on error
cd $GITHUB_WORKSPACE
echo "Waiting for API to be ready..."
max_attempts=10
attempt=1
@@ -8,7 +10,7 @@ attempt=1
while [ $attempt -le $max_attempts ]; do
echo "Health check attempt $attempt of $max_attempts..."
if curl -s -f -i http://localhost:9999/ > logs/health_check_$attempt.log 2>&1; then
echo "Health check succeeded!"
echo "Health check succeeded"
break
else
echo "Health check failed, waiting 5 seconds..."