forked from cerc-io/stack-orchestrator
Add --update option to deploy create
To allow updating an existing deployment - Check the deployment dir exists when updating - Write to temp dir, then safely copy tree - Don't overwrite data dir or config.env
This commit is contained in:
@@ -94,7 +94,7 @@ def create_deployment(
|
||||
# Add the TLS and DNS spec
|
||||
_fixup_url_spec(spec_file_name, url)
|
||||
create_operation(
|
||||
deploy_command_context, spec_file_name, deployment_dir, False, None, None
|
||||
deploy_command_context, spec_file_name, deployment_dir, False, False, None, None
|
||||
)
|
||||
# Fix up the container tag inside the deployment compose file
|
||||
_fixup_container_tag(deployment_dir, image)
|
||||
|
||||
Reference in New Issue
Block a user