mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-18 02:42:31 +00:00
ci: do not pull model (#2776)
the model is now available in the container image Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
f85189022c
commit
ff9d4d8a9d
2 changed files with 1 additions and 2 deletions
2
.github/actions/setup-ollama/action.yml
vendored
2
.github/actions/setup-ollama/action.yml
vendored
|
@ -7,7 +7,5 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
docker run -d --name ollama -p 11434:11434 docker.io/leseb/ollama-with-models
|
docker run -d --name ollama -p 11434:11434 docker.io/leseb/ollama-with-models
|
||||||
# TODO: rebuild an ollama image with llama-guard3:1b
|
|
||||||
echo "Verifying Ollama status..."
|
echo "Verifying Ollama status..."
|
||||||
timeout 30 bash -c 'while ! curl -s -L http://127.0.0.1:11434; do sleep 1 && echo "."; done'
|
timeout 30 bash -c 'while ! curl -s -L http://127.0.0.1:11434; do sleep 1 && echo "."; done'
|
||||||
docker exec ollama ollama pull llama-guard3:1b
|
|
||||||
|
|
1
.github/workflows/integration-tests.yml
vendored
1
.github/workflows/integration-tests.yml
vendored
|
@ -12,6 +12,7 @@ on:
|
||||||
- 'pyproject.toml'
|
- 'pyproject.toml'
|
||||||
- 'requirements.txt'
|
- 'requirements.txt'
|
||||||
- '.github/workflows/integration-tests.yml' # This workflow
|
- '.github/workflows/integration-tests.yml' # This workflow
|
||||||
|
- '.github/actions/setup-ollama/action.yml'
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *' # Daily at 12 AM UTC
|
- cron: '0 0 * * *' # Daily at 12 AM UTC
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue