Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
ba09fcd5
Unverified
Commit
ba09fcd5
authored
May 06, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
May 06, 2024
Browse files
Merge pull request #2026 from cheahjs/fix/integration-test-wait-ollama
fix: wait for Ollama to come up in integration test
parents
aa0bf793
546d5538
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
.github/workflows/integration-test.yml
.github/workflows/integration-test.yml
+10
-1
No files found.
.github/workflows/integration-test.yml
View file @
ba09fcd5
...
@@ -20,7 +20,16 @@ jobs:
...
@@ -20,7 +20,16 @@ jobs:
-
name
:
Build and run Compose Stack
-
name
:
Build and run Compose Stack
run
:
|
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
-
name
:
Preload Ollama model
run
:
|
run
:
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment