FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

If BuildImage fails but logs something about success, don't succeed by niloc132 · Pull Request #2305 · docker-java/docker-java · GitHub

Repository navigation

If BuildImage fails but logs something about success, don't succeed - #2305

Merged
eddumelendez merged 1 commit into
docker-java:mainfrom
niloc132:2184-correctly-fail
Feb 26, 2024
Merged

eddumelendez merged 1 commit into
docker-java:mainfrom
niloc132:2184-correctly-fail

Conversation

niloc132 commented Feb 2, 2024

Copy link
Copy Markdown
Contributor

This patch ensures that if the docker build commands result in logging the string "Successfully built", the callback from that build will still fail if there was an error in building.

Fixes #2184

This patch ensures that if the docker build commands result in logging
the string "Successfully built", the callback from that build will still
fail if there was an error in building.

Fixes docker-java#2184
niloc132 requested a review from a team as a code owner February 2, 2024 16:59

niloc132 commented Feb 2, 2024

Copy link
Copy Markdown
Contributor Author

Tested by running integration tests (except swarm), and building a local snapshot, build downstream gradle-docker-plugin, and validating that a pip install command followed by a failing command doesn't result in success.

eddumelendez added this to the next milestone Feb 26, 2024
eddumelendez merged commit 4d8c436 into docker-java:main Feb 26, 2024

Copy link
Copy Markdown
Member

Thanks for your contribution, @niloc132 !

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

awaitImageId() using BuildImageResultCallback issue

2 participants


Back | FazBrowse Home | New Git URL