Skip to main content

deploy_pull

Function deploy_pull 

Source
pub async fn deploy_pull(
    repo: &Path,
    env: &str,
    reader: &dyn TreeReader,
    yes: bool,
) -> Result<DeployPullResult, CoreError>
Expand description

Bootstrap gateways/<gateway>/ from the live master. See the module doc.

yes confirms replacing existing resources/, tags/ and modes/<env>/ files; without it a non-empty tree is refused as confirmation_required before the gateway is read and before any write.