Add logging to webapp deployer #863

Merged
dboreham merged 2 commits from dboreham/webapp-logging into main 2024-07-04 19:46:43 +00:00
Showing only changes of commit 01f4df2636 - Show all commits

View File

@ -122,7 +122,10 @@ def process_app_deployment_request(
shared_tag_exists = remote_image_exists(image_registry, app_image_shared_tag)
if shared_tag_exists and not force_rebuild:
# simply add our unique tag to the existing image and we are done
logger.log(f"Existing image found for this app: {app_image_shared_tag} tagging it with: {deployment_container_tag} to use in this deployment")
logger.log(
f"Existing image found for this app: {app_image_shared_tag} "
"tagging it with: {deployment_container_tag} to use in this deployment"
)
add_tags_to_image(image_registry, app_image_shared_tag, deployment_container_tag)
logger.log("Tag complete")
else: