deploy_tools.app_builder#

Members

AppBuilder

Class for creating application entrypoints and associated files.

AppBuilderError

Raised when building an application's files fails.

exception deploy_tools.app_builder.AppBuilderError[source]#

Raised when building an application’s files fails.

class deploy_tools.app_builder.AppBuilder(templater: Templater, build_layout: ModuleBuildLayout)[source]#

Class for creating application entrypoints and associated files.

create_application_files(app: Annotated[ApptainerApp | ShellApp | BinaryApp, FieldInfo(annotation=NoneType, required=True, discriminator='app_type')], module: Module) None[source]#

Create the entrypoint and supporting files for an application.

The files produced depend on the application type (Apptainer, shell or binary).