From a1bf04677175f77269756b90ea75ed454a9029b5 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 4 Apr 2024 22:49:00 -0400 Subject: [PATCH] feat: update message for deployment tasks that execute in ephemeral containers Closes #6761 --- plugins/app-json/functions.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/app-json/functions.go b/plugins/app-json/functions.go index 0adaebfd5..e63a10725 100644 --- a/plugins/app-json/functions.go +++ b/plugins/app-json/functions.go @@ -192,7 +192,12 @@ func executeScript(appName string, image string, imageTag string, phase string) return nil } - common.LogInfo1(fmt.Sprintf("Executing %s task from %s: %s", phaseName, phaseSource, command)) + if phase == "predeploy" { + common.LogVerbose(fmt.Sprintf("Executing %s task from %s: %s", phaseName, phaseSource, command)) + } else { + common.LogVerbose(fmt.Sprintf("Executing %s task from %s in ephemeral container: %s", phaseName, phaseSource, command)) + } + isHerokuishImage := common.IsImageHerokuishBased(image, appName) isCnbImage := common.IsImageCnbBased(image) dockerfileEntrypoint := ""