orangeqs.juice.orchestration.base_image#

Utility for building the Juice base CI image.

Module Contents#

Functions#

render_base_image_files

Render the Containerfile and pyproject.toml for the Juice base CI image.

API#

orangeqs.juice.orchestration.base_image.render_base_image_files(output_dir: pathlib.Path, juice_version: str, *, extra_dependencies: list[str] | None = None, wheel_path: pathlib.Path | None = None) tuple[pathlib.Path, pathlib.Path]#

Render the Containerfile and pyproject.toml for the Juice base CI image.

Parameters#

  • output_dir:: Directory where the rendered files are written.

  • juice_version:: Exact version of orangeqs-juice-core to install (e.g. "26.24.0").

  • extra_dependencies:: Additional Python package specifiers to bake into the base image alongside juice core (e.g. pre-validated stable packages like "quantify==0.7.0").

  • wheel_path:: Path to a locally built orangeqs-juice-core wheel to install instead of resolving juice_version from the package index. Use this when building the base image for a release that has not been published yet.

Returns#

  • (tuple[Path, Path]): (containerfile_path, pyproject_path)