Skip to content
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

fix: missing image build errors #2651

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

stevenh
Copy link
Collaborator

@stevenh stevenh commented Jul 16, 2024

Ensure build errors are returned to the caller when PrintBuildLog is not set to true.

DisplayJSONMessagesStream and JSONMessage.Display performs processing of the stream to catch command failures, so needs to always be called.

@stevenh stevenh requested a review from a team as a code owner July 16, 2024 14:03
Copy link

netlify bot commented Jul 16, 2024

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 7292a5b
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/669ab506dc691b00081f21fc
😎 Deploy Preview https://deploy-preview-2651--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@stevenh
Copy link
Collaborator Author

stevenh commented Jul 16, 2024

Failures look unrelated.

@stevenh stevenh force-pushed the fix/missing-build-errors branch 3 times, most recently from 5b76c43 to 7a5aff6 Compare July 17, 2024 10:41
@mdelapenya
Copy link
Member

Hey @stevenh this code LGTM. I'd like to merge it but first ask if you see it possible add a test demonstrating the new behaviour. Wdyt?

@stevenh
Copy link
Collaborator Author

stevenh commented Jul 17, 2024

Hey @stevenh this code LGTM. I'd like to merge it but first ask if you see it possible add a test demonstrating the new behaviour. Wdyt?

Good call, I'll work on that.

@stevenh stevenh force-pushed the fix/missing-build-errors branch 2 times, most recently from d6a85a0 to 44a5ea5 Compare July 19, 2024 16:30
Ensure build errors are returned to the caller when PrintBuildLog is not
set to true.

DisplayJSONMessagesStream and JSONMessage.Display  performs processing of
the stream to catch command failures, so needs to always be called.
@stevenh stevenh force-pushed the fix/missing-build-errors branch from 44a5ea5 to 7292a5b Compare July 19, 2024 18:48
@stevenh
Copy link
Collaborator Author

stevenh commented Jul 19, 2024

Ready to go @mdelapenya failure is the flakey test issue

@stevenh stevenh marked this pull request as draft July 19, 2024 20:45
@stevenh
Copy link
Collaborator Author

stevenh commented Jul 19, 2024

Actually scratch that, something strange is going on. I think I might be seeing false passes.

@stevenh
Copy link
Collaborator Author

stevenh commented Aug 5, 2024

Failures we're unrelated

@stevenh stevenh marked this pull request as ready for review August 5, 2024 17:41
@mdelapenya mdelapenya self-assigned this Aug 7, 2024
@mdelapenya mdelapenya added the bug An issue with the library label Aug 7, 2024
@mdelapenya mdelapenya merged commit 82838e2 into testcontainers:main Aug 7, 2024
109 of 110 checks passed
@stevenh stevenh deleted the fix/missing-build-errors branch August 7, 2024 11:32
mdelapenya added a commit that referenced this pull request Aug 7, 2024
* main:
  fix: missing image build errors (#2651)
  test: fix image label test (#2689)
  chore(deps): bump github.com/docker/docker from 27.0.3+incompatible to 27.1.0+incompatible (#2682)
  chore: print Docker Info labels in banner (#2681)
  fix: incorrect parsing of exposedPorts in readiness check (#2658)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue with the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants