0
0
forked from moritz/alakazam

conceptual question

This commit is contained in:
2023-07-28 16:40:04 +02:00
parent 21e983a086
commit fd3a926f34
2 changed files with 4 additions and 3 deletions

View File

@ -269,7 +269,7 @@ def deploy_apps(apps):
for app in INSTANCE["apps"]:
domain = map_subdomain(app)
if (apps and app in apps) or domain not in deployed_domains:
logging.info(f'deploy {domain}')
print(f'deploy {domain}')
print(abra("app", "deploy", "-C", "-n", domain))
logging.info(f'execute commands for {domain}')
execute_cmds(app)
@ -284,7 +284,7 @@ def undeploy_apps(apps):
apps = INSTANCE["apps"]
for app in apps:
domain = map_subdomain(app)
logging.info(f'undeploy {domain}')
print(f'undeploy {domain}')
if domain in deployed_domains:
print(abra("app", "undeploy", "-n", domain))