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

feat!: build log writer for container request #2925

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

zenkovev
Copy link
Contributor

@zenkovev zenkovev commented Dec 18, 2024

What does this PR do?

It adds the ability to configure the output of logs of docker image build from Dockerfile.

Why is it important?

Now, there are two options for displaying logs of docker image build from Dockerfile: completely disable the output, however, it may contain useful information in case of problems, output to stderr, but the log may be large and clog up the output.

Related issues

How to test this PR

I have added a test for changes.

@zenkovev zenkovev requested a review from a team as a code owner December 18, 2024 13:08
Copy link

netlify bot commented Dec 18, 2024

Deploy Preview for testcontainers-go failed.

Name Link
🔨 Latest commit 1d33ac6
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/6763f67fa2ac5f0008c195c5

container.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@stevenh stevenh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for PR, have done a first pass with some questions and suggestions.

container.go Show resolved Hide resolved
container.go Outdated Show resolved Hide resolved
container.go Show resolved Hide resolved
docker_test.go Outdated Show resolved Hide resolved
docker_test.go Outdated Show resolved Hide resolved
container.go Show resolved Hide resolved
container.go Outdated Show resolved Hide resolved
container.go Outdated Show resolved Hide resolved
@zenkovev zenkovev changed the title feat: build log writer for container request feat!: build log writer for container request Dec 19, 2024
@zenkovev
Copy link
Contributor Author

Thanks for the comments, I answered them, if there are no objections in this variant, I will make a new commit

@stevenh
Copy link
Collaborator

stevenh commented Dec 19, 2024

Thanks for the comments, I answered them, if there are no objections in this variant, I will make a new commit

Go for it and will re-review once the changes are in.

@zenkovev zenkovev requested a review from stevenh December 19, 2024 10:40
Copy link
Collaborator

@stevenh stevenh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good kicked off checks

Copy link
Member

@mdelapenya mdelapenya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks both for your work during the review, great OSS colaboration 🙇

@zenkovev
Copy link
Contributor Author

Thanks for the review and quick feedback

@mdelapenya mdelapenya merged commit ea4feea into testcontainers:main Dec 19, 2024
120 checks passed
@mdelapenya mdelapenya self-assigned this Dec 19, 2024
@mdelapenya mdelapenya added breaking change Causing compatibility issues. enhancement New feature or request labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Causing compatibility issues. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: build log writer for container request
3 participants