undeploy app before migration

This commit is contained in:
Moritz 2023-11-09 12:37:53 +01:00
parent c28e44ea0a
commit 4553408e57
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ def main(loglevel, source_app, dst_domain, target_server, move_volumes):
def move_app(source_app, target_server=False, target_domain=False, move_vols=False):
#backup(source_app)
print(abra('app', 'undeploy', '-n', source_app))
copy_volumes(source_app, target_server, target_domain, move_vols)
copy_configs(source_app, target_server, target_domain)
copy_secrets(source_app, target_domain)