Skip to content

autonomy.cli.helpers.deployment

Deployment helpers.

run_deployment

def run_deployment(build_dir: Path,
                   no_recreate: bool = False,
                   remove_orphans: bool = False) -> None

Run deployment.

build_deployment

def build_deployment(keys_file: Path,
                     build_dir: Path,
                     deployment_type: str,
                     dev_mode: bool,
                     number_of_agents: Optional[int] = None,
                     password: Optional[str] = None,
                     packages_dir: Optional[Path] = None,
                     open_aea_dir: Optional[Path] = None,
                     open_autonomy_dir: Optional[Path] = None,
                     agent_instances: Optional[List[str]] = None,
                     multisig_address: Optional[str] = None,
                     consensus_threshold: Optional[int] = None,
                     log_level: str = INFO,
                     apply_environment_variables: bool = False,
                     image_version: Optional[str] = None,
                     use_hardhat: bool = False,
                     use_acn: bool = False,
                     use_tm_testnet_setup: bool = False,
                     image_author: Optional[str] = None) -> None

Build deployment.

build_and_deploy_from_token

def build_and_deploy_from_token(token_id: int,
                                keys_file: Path,
                                chain_type: ChainType,
                                skip_image: bool,
                                n: Optional[int],
                                deployment_type: str,
                                aev: bool = False,
                                password: Optional[str] = None,
                                no_deploy: bool = False) -> None

Build and run deployment from tokenID.