Fix lint error
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 35s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m15s
Smoke Test / Run basic test suite (pull_request) Successful in 4m8s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m53s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m32s

This commit is contained in:
David Boreham 2024-07-04 13:37:55 -06:00
parent 47161a6d0b
commit 01f4df2636

View File

@ -122,7 +122,10 @@ def process_app_deployment_request(
shared_tag_exists = remote_image_exists(image_registry, app_image_shared_tag) shared_tag_exists = remote_image_exists(image_registry, app_image_shared_tag)
if shared_tag_exists and not force_rebuild: if shared_tag_exists and not force_rebuild:
# simply add our unique tag to the existing image and we are done # 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) add_tags_to_image(image_registry, app_image_shared_tag, deployment_container_tag)
logger.log("Tag complete") logger.log("Tag complete")
else: else: