Skip to main content

deploy

Deploy the given environment or list of environments.

def deploy(
envs: Environment,
dryrun: bool = False,
version: str | None = None,
interactive_mode: bool | None = None,
copy_style: CopyFiles = "loaded_modules"
) - > List[Deployment]

Deploy the given environment or list of environments.

Parameters

NameTypeDescription
envsEnvironmentEnvironment or list of environments to deploy.
dryrunbool = Falsedryrun mode, if True, the deployment will not be applied to the control plane.
version`strNone` = None
interactive_mode`boolNone` = None
copy_styleCopyFiles = "loaded_modules"Copy style to use when running the task

Returns

TypeDescription
List[Deployment]Deployment object containing the deployed environments and tasks.