Add support for depends_on condition type of "service_completed_successfully" #11335
Labels
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
Currently podman doesn't support the docker-compose configuration value of
services.${service_a}.depends_on.${service_b}.condition: service_completed_successfully
for initializing depended services after service_b has completed successfully (available in docker-compose 1.29)This may be jumping the gun over the current spec (but the spec looks to be moving this through as any bureaucratic process does)
compose-spec/compose-spec#144
compose-spec/compose-spec@dc40e3e
Steps to reproduce the issue:
Describe the results you received:
Verify that the execution results in:
Describe the results you expected:
Execution inline with current docker-compose versions (1.29 or later) where ${service_a} begins executing only after ${service_b} has completed successfully.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
No
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: