chore(ci): dont run llama stack server always

This commit is contained in:
Ashwin Bharambe 2025-08-18 09:29:23 -07:00
parent a8091d0c6a
commit 4997552268

View file

@ -142,6 +142,10 @@ fi
# Start Llama Stack Server if needed
if [[ "$STACK_CONFIG" == *"server:"* ]]; then
# check if server is already running
if curl -s http://localhost:8321/v1/health 2>/dev/null | grep -q "OK"; then
echo "Llama Stack Server is already running, skipping start"
else
echo "=== Starting Llama Stack Server ==="
nohup uv run llama stack run ci-tests --image-type venv > server.log 2>&1 &
@ -161,6 +165,7 @@ if [[ "$STACK_CONFIG" == *"server:"* ]]; then
done
echo ""
fi
fi
# Run tests
echo "=== Running Integration Tests ==="