From ff9d4d8a9dd7d6d62f9c6d030e527c1f86798698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Wed, 16 Jul 2025 13:58:05 +0200 Subject: [PATCH] ci: do not pull model (#2776) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the model is now available in the container image Signed-off-by: Sébastien Han --- .github/actions/setup-ollama/action.yml | 2 -- .github/workflows/integration-tests.yml | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/actions/setup-ollama/action.yml b/.github/actions/setup-ollama/action.yml index 37a369a9a..bb08520f1 100644 --- a/.github/actions/setup-ollama/action.yml +++ b/.github/actions/setup-ollama/action.yml @@ -7,7 +7,5 @@ runs: 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 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 7c00acfb5..a5883daf7 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -12,6 +12,7 @@ on: - 'pyproject.toml' - 'requirements.txt' - '.github/workflows/integration-tests.yml' # This workflow + - '.github/actions/setup-ollama/action.yml' schedule: - cron: '0 0 * * *' # Daily at 12 AM UTC workflow_dispatch: