mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix: wait for Ollama to come up in integration test
This commit is contained in:
parent
aa0bf79330
commit
546d553803
1 changed files with 10 additions and 1 deletions
11
.github/workflows/integration-test.yml
vendored
11
.github/workflows/integration-test.yml
vendored
|
|
@ -20,7 +20,16 @@ jobs:
|
|||
|
||||
- name: Build and run Compose Stack
|
||||
run: |
|
||||
docker compose up --detach --build
|
||||
docker compose --file docker-compose.yaml --file docker-compose.api.yaml up --detach --build
|
||||
|
||||
- name: Wait for Ollama to be up
|
||||
timeout-minutes: 5
|
||||
run: |
|
||||
until curl --output /dev/null --silent --fail http://localhost:11434; do
|
||||
printf '.'
|
||||
sleep 1
|
||||
done
|
||||
echo "Service is up!"
|
||||
|
||||
- name: Preload Ollama model
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue