Merge pull request #6800 from dokku/6761-ephemeral-deployment-tasks

Update message for deployment tasks that execute in ephemeral containers
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2024-04-04 22:49:42 -04:00
commit 96cac23c8f
1 file changed
+6 -1
+6 -1
View File
@@ -192,7 +192,12 @@ func executeScript(appName string, image string, imageTag string, phase string)
return nil 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) isHerokuishImage := common.IsImageHerokuishBased(image, appName)
isCnbImage := common.IsImageCnbBased(image) isCnbImage := common.IsImageCnbBased(image)
dockerfileEntrypoint := "" dockerfileEntrypoint := ""