-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman-compose build exits 0 when build fails #476
Comments
Hi, we're running into the same issue, is there an expected fix for this? |
This is not an enhacement, this is a bug |
Facing this behavior as well, pretty inconsistent when podman-compose is being used in CI workflows. |
@muayyad-alsadi Are you considering PR #521 or is that now how you'd perfer podman-compose to work? |
What is worse, |
This affects our efforts to have the same recipes for running services in both Docker and Podman as we migrate. It also makes debugging significantly more difficult, because if the image fails to build, then typically Podman will also fail for a different reason, such as the container not being present. |
Hello!
I have been using podman-compose for a bit and love it but I noticed that when I run
podman-compose build
it always exits 0 regardless of if the build failed or not.It does print out the exit code of the underlying podman command but I don't want to parse the output for that. Would it be possible to have the build command exit with the underlying exit code if it runs into a failure?
I have my local version of podman-compose patched with:
on https://github.com/containers/podman-compose/blob/devel/podman_compose.py#L1898. I'm not sure if there's a better solution.
The text was updated successfully, but these errors were encountered: