Skip to content

Commit c4ce7d1

Browse files
authored
Merge branch 'main' into issue-209
2 parents da37d1e + 7eb57d6 commit c4ce7d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/integration-tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
cleanup_container
168168
169169
echo "Starting Ollama container (Attempt $(($retry_count + 1))/$MAX_RETRIES)"
170-
docker run -d -v ollama:/root/.ollama --network host --name ollama ollama/ollama
170+
docker run -d -v ollama:/root/.ollama --network host --name ollama -e OLLAMA_LOG_LEVEL=DEBUG ollama/ollama
171171
172172
# Wait for endpoint to be available
173173
endpoint_wait=0
@@ -191,7 +191,7 @@ jobs:
191191
192192
# Monitor container and model status
193193
monitor_count=0
194-
while [ $monitor_count -lt 60 ]; do # 5 minute timeout per attempt
194+
while [ $monitor_count -lt 90 ]; do # 7.5 minutes
195195
# Check if container is still running
196196
if ! docker ps | grep -q ollama; then
197197
echo "Container crashed, logs:"
@@ -206,12 +206,12 @@ jobs:
206206
exit 0 # Success!
207207
fi
208208
209-
echo "Model not ready yet. Waiting... ($(($monitor_count + 1))/60)"
209+
echo "Model not ready yet. Waiting... ($(($monitor_count + 1))/90)"
210210
sleep 5
211211
monitor_count=$((monitor_count + 1))
212212
done
213213
214-
if [ $monitor_count -eq 60 ]; then
214+
if [ $monitor_count -eq 90 ]; then
215215
echo "Timeout waiting for model, container logs:"
216216
docker logs ollama
217217
retry_count=$((retry_count + 1))

0 commit comments

Comments
 (0)