llama-stack/.github/workflows
Sébastien Han 14e60e3c02
feat: include run.yaml in the container image (#2005)
As part of the build process, we now include the generated run.yaml
(based of the provided build configuration file) into the container. We
updated the entrypoint to use this run configuration as well.

Given this simple distribution configuration:

```
# build.yaml
version: '2'
distribution_spec:
  description: Use (an external) Ollama server for running LLM inference
  providers:
    inference:
    - remote::ollama
    vector_io:
    - inline::faiss
    safety:
    - inline::llama-guard
    agents:
    - inline::meta-reference
    telemetry:
    - inline::meta-reference
    eval:
    - inline::meta-reference
    datasetio:
    - remote::huggingface
    - inline::localfs
    scoring:
    - inline::basic
    - inline::llm-as-judge
    - inline::braintrust
    tool_runtime:
    - remote::brave-search
    - remote::tavily-search
    - inline::code-interpreter
    - inline::rag-runtime
    - remote::model-context-protocol
    - remote::wolfram-alpha
  container_image: "registry.access.redhat.com/ubi9"
image_type: container
image_name: test
```

Build it:
```
llama stack build --config build.yaml
```

Run it:

```
podman run --rm \
         -p 8321:8321 \
         -e OLLAMA_URL=http://host.containers.internal:11434 \
         --name llama-stack-server \
         localhost/leseb-test:0.2.2
```

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-04-24 11:29:53 +02:00
..
changelog.yml ci: pin github actions to hashes (#1776) 2025-04-01 17:09:39 +02:00
gha_workflow_llama_stack_tests.yml chore: fix hash for thollander/actions-comment-pull-request (#1900) 2025-04-09 10:10:07 +02:00
integration-tests.yml chore(github-deps): bump astral-sh/setup-uv from 5.4.0 to 5.4.1 (#1881) 2025-04-14 14:33:43 +02:00
pre-commit.yml docs: resync missing nvidia doc (#1947) 2025-04-14 15:09:16 +02:00
providers-build.yml feat: include run.yaml in the container image (#2005) 2025-04-24 11:29:53 +02:00
semantic-pr.yml ci: pin github actions to hashes (#1776) 2025-04-01 17:09:39 +02:00
stale_bot.yml ci: pin github actions to hashes (#1776) 2025-04-01 17:09:39 +02:00
test-external-providers.yml feat: allow building distro with external providers (#1967) 2025-04-18 17:18:28 +02:00
tests.yml ci: pin github actions to hashes (#1776) 2025-04-01 17:09:39 +02:00
unit-tests.yml chore(github-deps): bump astral-sh/setup-uv from 5.4.0 to 5.4.1 (#1881) 2025-04-14 14:33:43 +02:00
update-readthedocs.yml chore(github-deps): bump astral-sh/setup-uv from 5.4.0 to 5.4.1 (#1881) 2025-04-14 14:33:43 +02:00