llama-stack-mirror/tests/unit/distribution
Sébastien Han e9bcb0e827
feat: export distribution container build artifacts
Add a new --export-dir flag to the `llama stack build` command that
allows users to export container build artifacts to a specified
directory instead of building the container directly. This feature is
useful for:

- Building containers in different environments
- Sharing build configurations
- Customizing the build process

The exported tarball includes:
- Containerfile (Dockerfile)
- Run configuration file (if building from config)
- External provider files (if specified)
- Build script for assistance

The tarball is named with a timestamp for uniqueness: <distro-name>_<timestamp>.tar.gz

Documentation has been updated in building_distro.md to reflect this new
functionality as well as integration tests.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-05-19 11:08:43 +02:00
..
routers chore: Add fixtures to conftest.py (#2067) 2025-05-06 13:57:48 +02:00
test_build_path.py feat: export distribution container build artifacts 2025-05-19 11:08:43 +02:00
test_context.py refactor: move missing tests to test directory (#1892) 2025-04-08 18:54:00 -07:00
test_distribution.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00