llama-stack-mirror/.github/actions/setup-ollama/action.yml
Sébastien Han ab2f3eeb42
ci: run all APIs integration tests
We are now automatically building the list of integration test to run.
In that process, eval and files and being tested now.

Also, wait for ollama to be ready before the pull the model.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-07-09 17:48:27 +02:00

13 lines
482 B
YAML

name: Setup Ollama
description: Start Ollama
runs:
using: "composite"
steps:
- name: Start Ollama
shell: bash
run: |
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..."
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