mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-27 15:22:01 +00:00
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>
13 lines
482 B
YAML
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
|