Skip to content

autonomy.deploy.image

Image building.

generate_dependency_flag_var

def generate_dependency_flag_var(dependencies: Tuple[Dependency, ...]) -> str

Generate dependency flag env var

ImageProfiles Objects

class ImageProfiles()

Image build profiles.

build_image

def build_image(agent: PublicId,
                pull: bool = False,
                dev: bool = False,
                version: Optional[str] = None,
                image_author: Optional[str] = None,
                extra_dependencies: Optional[Tuple[Dependency, ...]] = None,
                dockerfile: Optional[Path] = None) -> None

Command to build images from for skaffold deployment.

ImageBuildFailed Objects

class ImageBuildFailed(Exception)

Raise when there's an error while building the agent image.