Skip to content

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
@netlify
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

Copy link
Contributor

@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.

@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
Contributor

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
Contributor

@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
mdelapenya added a commit to mdelapenya/testcontainers-go that referenced this pull request Jan 8, 2025
* main: (103 commits)
  feat(postgres): ssl for postgres (testcontainers#2473)
  feat(ollama): support calling the Ollama local process (testcontainers#2923)
  chore(deps): bump jinja2 from 3.1.4 to 3.1.5 (testcontainers#2935)
  chore(deps): bump sonarsource/sonarcloud-github-action (testcontainers#2933)
  feat(termination)!: make container termination timeout configurable (testcontainers#2926)
  chore(deps): bump slackapi/slack-github-action from 1.26.0 to 2.0.0 (testcontainers#2934)
  chore(deps): bump github/codeql-action from 3.25.15 to 3.28.0 (testcontainers#2932)
  feat(wait): log sub match callback (testcontainers#2929)
  fix: Handle nil value in CleanupNetwork (testcontainers#2928)
  fix: avoid double lock in DockerProvider.DaemonHost() (testcontainers#2900)
  feat!: build log writer for container request (testcontainers#2925)
  feat(gcloud)!: add support to seed data when using RunBigQueryContainer (testcontainers#2523)
  security(deps): bump golang.org/x/crypto from 0.28.0 to 0.31.0 (testcontainers#2916)
  chore(ci): add Github labels based on PR title (testcontainers#2914)
  chore(gha): Use official setup-docker-action (testcontainers#2913)
  chore(ci): enforce conventional commits syntax in PR titles (testcontainers#2911)
  feat(nats): WithConfigFile - pass a configuration file to nats server (testcontainers#2905)
  chore: enable implicit default logger only in testing with -v (testcontainers#2877)
  fix: container binds syntax (testcontainers#2899)
  refactor(cockroachdb): to use request driven options (testcontainers#2883)
  ...
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