fix: prune docker cache earlier in integration tests

This commit is contained in:
Jun Siang Cheah 2024-08-03 20:53:31 +01:00
parent 534c18c94c
commit 2eb662df85

View File

@ -26,6 +26,10 @@ jobs:
--file docker-compose.a1111-test.yaml \ --file docker-compose.a1111-test.yaml \
up --detach --build up --detach --build
- name: Delete Docker build cache
run: |
docker builder prune --all --force
- name: Wait for Ollama to be up - name: Wait for Ollama to be up
timeout-minutes: 5 timeout-minutes: 5
run: | run: |
@ -35,10 +39,6 @@ jobs:
done done
echo "Service is up!" echo "Service is up!"
- name: Delete Docker build cache
run: |
docker builder prune --all --force
- name: Preload Ollama model - name: Preload Ollama model
run: | run: |
docker exec ollama ollama pull qwen:0.5b-chat-v1.5-q2_K docker exec ollama ollama pull qwen:0.5b-chat-v1.5-q2_K