Merge pull request #7585 from dokku/7226-ps-rebuild-image-respect

Add test to prove Dokku respects the Procfile when deploying from an image
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2025-05-24 22:07:29 -04:00
commit 3ae19a8364
3 files changed
+13 -2

No files matched your search

+12
View File
@@ -94,3 +94,15 @@ EOF
echo "status: $status"
assert_output "3001/udp 3000/tcp 3003"
}
@test "(builder-dockerfile) ps:rebuild fetches files from image" {
run /bin/bash -c "dokku --trace git:from-image $TEST_APP dokku/smoke-test-app:dockerfile"
echo "output: $output"
echo "status: $status"
assert_success
run /bin/bash -c "dokku ps:rebuild $TEST_APP"
echo "output: $output"
echo "status: $status"
assert_success
}