chore: make the postdeploy task name more clear

This commit is contained in:
Jose Diaz-Gonzalez
2025-11-20 00:42:49 -05:00
parent 421863f4ac
commit 56566d1c05
2 changed files with 2 additions and 6 deletions

View File

@@ -133,11 +133,7 @@ func cleanupDeploymentContainer(containerID string, phase string) error {
}
func executeScript(appName string, image string, imageTag string, phase string) error {
phaseName := phase
if phase == "heroku.postdeploy" {
phaseName = "first deploy postdeploy"
}
common.LogInfo1(fmt.Sprintf("Checking for %s task", phaseName))
common.LogInfo1(fmt.Sprintf("Checking for %s task", phase))
command := ""
phaseSource := ""
if phase == "release" {

View File

@@ -50,7 +50,7 @@ teardown() {
run deploy_app python dokku@$DOKKU_DOMAIN:$TEST_APP add_failing_postdeploy
echo "output: $output"
echo "status: $status"
assert_output_contains "Execution of first deploy postdeploy task failed"
assert_output_contains "Execution of heroku.postdeploy task failed"
assert_failure
}