Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update module github.com/testcontainers/testcontainers-go to v0.35.0 (o…
…pen-telemetry#37209) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/testcontainers/testcontainers-go](https://redirect.github.com/testcontainers/testcontainers-go) | `v0.34.0` -> `v0.35.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.34.0/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.34.0/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/testcontainers/testcontainers-go](https://redirect.github.com/testcontainers/testcontainers-go) | `v0.33.0` -> `v0.35.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.33.0/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ftestcontainers%2ftestcontainers-go/v0.33.0/v0.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>testcontainers/testcontainers-go (github.com/testcontainers/testcontainers-go)</summary> ### [`v0.35.0`](https://redirect.github.com/testcontainers/testcontainers-go/releases/tag/v0.35.0) [Compare Source](https://redirect.github.com/testcontainers/testcontainers-go/compare/v0.34.1...v0.35.0) ### What's Changed ####⚠️ Breaking Changes - feat(termination)!: make container termination timeout configurable ([#&open-telemetry#8203;2926](https://redirect.github.com/testcontainers/testcontainers-go/issues/2926)) [@&open-telemetry#8203;moogacs](https://redirect.github.com/moogacs) > The `container.Terminate(ctx)` method now accepts an extra variadic argument with termination options. The breaking change only affects users assigning this method to a variable, receiving a compile-time error. The rest of the users will simply satisfy the new signature with an empty slice of termination options. - feat!: build log writer for container request ([#&open-telemetry#8203;2925](https://redirect.github.com/testcontainers/testcontainers-go/issues/2925)) [@&open-telemetry#8203;zenkovev](https://redirect.github.com/zenkovev) > The `ShouldPrintBuildLog` function of the `ContainerRequest` has been removed. Instead, a `BuildLogWriter` function appears, that returns the user-defined `io.Writer` for writing the image-build logs. In case there is no writer, and the `FromDockerfile.PrintBuildLog` is set to true, `os.Stderr` would be used. - feat(gcloud)!: add support to seed data when using RunBigQueryContainer ([#&open-telemetry#8203;2523](https://redirect.github.com/testcontainers/testcontainers-go/issues/2523)) [@&open-telemetry#8203;mtellis2](https://redirect.github.com/mtellis2) > Users of the GCloud module and the `WithProjectID` option must handle the error that this option now returns. This can be get at compile time, as all the functional options for container customisers must return an error. - fix!: port forwarding clean up and make private ([#&open-telemetry#8203;2881](https://redirect.github.com/testcontainers/testcontainers-go/issues/2881)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) > The types and functions of the `PortForwarder` type are now private, as they are implementation details of the library, so there is no need for them to be exposed. - fix!: data races ([#&open-telemetry#8203;2843](https://redirect.github.com/testcontainers/testcontainers-go/issues/2843)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) > Usages of the `GenericProviderOptions.DefaultNetwork` field must be removed, as this field is now private. The container runtime should provide the default network under the hood. #### 🔒 Security - security(deps): bump golang.org/x/crypto from 0.28.0 to 0.31.0 ([#&open-telemetry#8203;2916](https://redirect.github.com/testcontainers/testcontainers-go/issues/2916)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) #### 🚀 Features - feat(postgres): ssl for postgres ([#&open-telemetry#8203;2473](https://redirect.github.com/testcontainers/testcontainers-go/issues/2473)) [@&open-telemetry#8203;bearrito](https://redirect.github.com/bearrito) - feat(ollama): support calling the Ollama local process ([#&open-telemetry#8203;2923](https://redirect.github.com/testcontainers/testcontainers-go/issues/2923)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) - feat(termination)!: make container termination timeout configurable ([#&open-telemetry#8203;2926](https://redirect.github.com/testcontainers/testcontainers-go/issues/2926)) [@&open-telemetry#8203;moogacs](https://redirect.github.com/moogacs) - feat(wait): log sub match callback ([#&open-telemetry#8203;2929](https://redirect.github.com/testcontainers/testcontainers-go/issues/2929)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) - feat!: build log writer for container request ([#&open-telemetry#8203;2925](https://redirect.github.com/testcontainers/testcontainers-go/issues/2925)) [@&open-telemetry#8203;zenkovev](https://redirect.github.com/zenkovev) - feat(gcloud)!: add support to seed data when using RunBigQueryContainer ([#&open-telemetry#8203;2523](https://redirect.github.com/testcontainers/testcontainers-go/issues/2523)) [@&open-telemetry#8203;mtellis2](https://redirect.github.com/mtellis2) - feat(nats): WithConfigFile - pass a configuration file to nats server ([#&open-telemetry#8203;2905](https://redirect.github.com/testcontainers/testcontainers-go/issues/2905)) [@&open-telemetry#8203;vyskocilm](https://redirect.github.com/vyskocilm) - feat(wait): strategy walk ([#&open-telemetry#8203;2895](https://redirect.github.com/testcontainers/testcontainers-go/issues/2895)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) - feat(wait): tls strategy ([#&open-telemetry#8203;2896](https://redirect.github.com/testcontainers/testcontainers-go/issues/2896)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) - feat: add build to life cycle hooks ([#&open-telemetry#8203;2653](https://redirect.github.com/testcontainers/testcontainers-go/issues/2653)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) #### 🐛 Bug Fixes - fix: handle nil value in CleanupNetwork ([#&open-telemetry#8203;2928](https://redirect.github.com/testcontainers/testcontainers-go/issues/2928)) [@&open-telemetry#8203;l0nax](https://redirect.github.com/l0nax) - fix: avoid double lock in DockerProvider.DaemonHost() ([#&open-telemetry#8203;2900](https://redirect.github.com/testcontainers/testcontainers-go/issues/2900)) [@&open-telemetry#8203;vikstrous](https://redirect.github.com/vikstrous) - fix: container binds syntax ([#&open-telemetry#8203;2899](https://redirect.github.com/testcontainers/testcontainers-go/issues/2899)) [@&open-telemetry#8203;zregvart](https://redirect.github.com/zregvart) - fix(influxdb): Respect custom waitStrategy ([#&open-telemetry#8203;2845](https://redirect.github.com/testcontainers/testcontainers-go/issues/2845)) [@&open-telemetry#8203;marcinmilewski93](https://redirect.github.com/marcinmilewski93) - fix(redpanda): temporary file use ([#&open-telemetry#8203;2884](https://redirect.github.com/testcontainers/testcontainers-go/issues/2884)) [@&open-telemetry#8203;cavus700](https://redirect.github.com/cavus700) - fix: host access port instability ([#&open-telemetry#8203;2867](https://redirect.github.com/testcontainers/testcontainers-go/issues/2867)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) - fix: docker auth for identity tokens ([#&open-telemetry#8203;2866](https://redirect.github.com/testcontainers/testcontainers-go/issues/2866)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) - fix(compose): container initialisation ([#&open-telemetry#8203;2844](https://redirect.github.com/testcontainers/testcontainers-go/issues/2844)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) - fix!: data races ([#&open-telemetry#8203;2843](https://redirect.github.com/testcontainers/testcontainers-go/issues/2843)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) - fix: mongodb replicaset should work with auth ([#&open-telemetry#8203;2847](https://redirect.github.com/testcontainers/testcontainers-go/issues/2847)) [@&open-telemetry#8203;abhipranay](https://redirect.github.com/abhipranay) - fix: simplify fully-qualified image names ([#&open-telemetry#8203;2846](https://redirect.github.com/testcontainers/testcontainers-go/issues/2846)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) - fix(compose): race condition ([#&open-telemetry#8203;2842](https://redirect.github.com/testcontainers/testcontainers-go/issues/2842)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) #### 📖 Documentation - docs: better contribution guidelines ([#&open-telemetry#8203;2893](https://redirect.github.com/testcontainers/testcontainers-go/issues/2893)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) - docs: fix new lifecycle hooks section ([#&open-telemetry#8203;2875](https://redirect.github.com/testcontainers/testcontainers-go/issues/2875)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) - docs(mysql|neo4j): remove default image codeblock ([#&open-telemetry#8203;2860](https://redirect.github.com/testcontainers/testcontainers-go/issues/2860)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) #### 🧹 Housekeeping - chore(deps): bump jinja2 from 3.1.4 to 3.1.5 ([#&open-telemetry#8203;2935](https://redirect.github.com/testcontainers/testcontainers-go/issues/2935)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump sonarsource/sonarcloud-github-action from 2.1.1 to 4.0.0 ([#&open-telemetry#8203;2933](https://redirect.github.com/testcontainers/testcontainers-go/issues/2933)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump slackapi/slack-github-action from 1.26.0 to 2.0.0 ([#&open-telemetry#8203;2934](https://redirect.github.com/testcontainers/testcontainers-go/issues/2934)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump github/codeql-action from 3.25.15 to 3.28.0 ([#&open-telemetry#8203;2932](https://redirect.github.com/testcontainers/testcontainers-go/issues/2932)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(ci): add Github labels based on PR title ([#&open-telemetry#8203;2914](https://redirect.github.com/testcontainers/testcontainers-go/issues/2914)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) - chore(gha): use official docker/setup-docker-action ([#&open-telemetry#8203;2913](https://redirect.github.com/testcontainers/testcontainers-go/issues/2913)) [@&open-telemetry#8203;vvoland](https://redirect.github.com/vvoland) - chore(ci): enforce conventional commits syntax in PR titles ([#&open-telemetry#8203;2911](https://redirect.github.com/testcontainers/testcontainers-go/issues/2911)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) - chore: enable implicit default logger only in testing with -v ([#&open-telemetry#8203;2877](https://redirect.github.com/testcontainers/testcontainers-go/issues/2877)) [@&open-telemetry#8203;apstndb](https://redirect.github.com/apstndb) - refactor(cockroachdb): to use request driven options ([#&open-telemetry#8203;2883](https://redirect.github.com/testcontainers/testcontainers-go/issues/2883)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) - fix: only upload to sonar on ubuntu-latest ([#&open-telemetry#8203;2891](https://redirect.github.com/testcontainers/testcontainers-go/issues/2891)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) - fix: build artifact name properly ([#&open-telemetry#8203;2890](https://redirect.github.com/testcontainers/testcontainers-go/issues/2890)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) - fix: do not run sonar upload when ryuk is disabled ([#&open-telemetry#8203;2889](https://redirect.github.com/testcontainers/testcontainers-go/issues/2889)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) - feat(ci): Enable master moby with rootless ([#&open-telemetry#8203;2880](https://redirect.github.com/testcontainers/testcontainers-go/issues/2880)) [@&open-telemetry#8203;vvoland](https://redirect.github.com/vvoland) - chore: resolve AWS deprecations for localstack ([#&open-telemetry#8203;2879](https://redirect.github.com/testcontainers/testcontainers-go/issues/2879)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) - fix: typo in containerd integration ([#&open-telemetry#8203;2873](https://redirect.github.com/testcontainers/testcontainers-go/issues/2873)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) - chore: use testify instead of t.Error ([#&open-telemetry#8203;2871](https://redirect.github.com/testcontainers/testcontainers-go/issues/2871)) [@&open-telemetry#8203;mmorel-35](https://redirect.github.com/mmorel-35) - golangci-lint: enable perfsprint linter ([#&open-telemetry#8203;2872](https://redirect.github.com/testcontainers/testcontainers-go/issues/2872)) [@&open-telemetry#8203;mmorel-35](https://redirect.github.com/mmorel-35) - fix: reuse testcontainers.RequireContainerExec ([#&open-telemetry#8203;2870](https://redirect.github.com/testcontainers/testcontainers-go/issues/2870)) [@&open-telemetry#8203;mmorel-35](https://redirect.github.com/mmorel-35) - feat(ci): Test against the nightly master moby ([#&open-telemetry#8203;2861](https://redirect.github.com/testcontainers/testcontainers-go/issues/2861)) [@&open-telemetry#8203;vvoland](https://redirect.github.com/vvoland) - chore: use require instead of t.Fatal (part 2) ([#&open-telemetry#8203;2857](https://redirect.github.com/testcontainers/testcontainers-go/issues/2857)) [@&open-telemetry#8203;mmorel-35](https://redirect.github.com/mmorel-35) - chore: remove unused lint directives ([#&open-telemetry#8203;2864](https://redirect.github.com/testcontainers/testcontainers-go/issues/2864)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) - fix: log test data race ([#&open-telemetry#8203;2863](https://redirect.github.com/testcontainers/testcontainers-go/issues/2863)) [@&open-telemetry#8203;stevenh](https://redirect.github.com/stevenh) - chore(rabbitmq): refactor assertEntity in tests ([#&open-telemetry#8203;2856](https://redirect.github.com/testcontainers/testcontainers-go/issues/2856)) [@&open-telemetry#8203;mmorel-35](https://redirect.github.com/mmorel-35) - chore: use require instead of t.Fatal ([#&open-telemetry#8203;2855](https://redirect.github.com/testcontainers/testcontainers-go/issues/2855)) [@&open-telemetry#8203;mmorel-35](https://redirect.github.com/mmorel-35) - chore: use require.Len instead of assert.Len ([#&open-telemetry#8203;2854](https://redirect.github.com/testcontainers/testcontainers-go/issues/2854)) [@&open-telemetry#8203;mmorel-35](https://redirect.github.com/mmorel-35) - chore: enable usestdlibvars linter ([#&open-telemetry#8203;2850](https://redirect.github.com/testcontainers/testcontainers-go/issues/2850)) [@&open-telemetry#8203;mmorel-35](https://redirect.github.com/mmorel-35) - chore: use require.(No)Error(t,err) instead of t.Fatal(err) ([#&open-telemetry#8203;2851](https://redirect.github.com/testcontainers/testcontainers-go/issues/2851)) [@&open-telemetry#8203;mmorel-35](https://redirect.github.com/mmorel-35) #### 📦 Dependency updates - chore(deps): bump jinja2 from 3.1.4 to 3.1.5 ([#&open-telemetry#8203;2935](https://redirect.github.com/testcontainers/testcontainers-go/issues/2935)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump sonarsource/sonarcloud-github-action from 2.1.1 to 4.0.0 ([#&open-telemetry#8203;2933](https://redirect.github.com/testcontainers/testcontainers-go/issues/2933)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump slackapi/slack-github-action from 1.26.0 to 2.0.0 ([#&open-telemetry#8203;2934](https://redirect.github.com/testcontainers/testcontainers-go/issues/2934)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump github/codeql-action from 3.25.15 to 3.28.0 ([#&open-telemetry#8203;2932](https://redirect.github.com/testcontainers/testcontainers-go/issues/2932)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - security(deps): bump golang.org/x/crypto from 0.28.0 to 0.31.0 ([#&open-telemetry#8203;2916](https://redirect.github.com/testcontainers/testcontainers-go/issues/2916)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump actions/setup-go from 5.0.0 to 5.1.0 ([#&open-telemetry#8203;2904](https://redirect.github.com/testcontainers/testcontainers-go/issues/2904)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.0 ([#&open-telemetry#8203;2903](https://redirect.github.com/testcontainers/testcontainers-go/issues/2903)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump test-summary/action from 2.3 to 2.4 ([#&open-telemetry#8203;2902](https://redirect.github.com/testcontainers/testcontainers-go/issues/2902)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - fix: update GH actions for uploading/downloading artifacts ([#&open-telemetry#8203;2888](https://redirect.github.com/testcontainers/testcontainers-go/issues/2888)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) - feat(ci): Enable master moby with rootless ([#&open-telemetry#8203;2880](https://redirect.github.com/testcontainers/testcontainers-go/issues/2880)) [@&open-telemetry#8203;vvoland](https://redirect.github.com/vvoland) - chore(deps): bump actions/download-artifact from 3.0.2 to 4.1.8 ([#&open-telemetry#8203;2676](https://redirect.github.com/testcontainers/testcontainers-go/issues/2676)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump actions/upload-artifact from 3.1.3 to 4.4.3 ([#&open-telemetry#8203;2885](https://redirect.github.com/testcontainers/testcontainers-go/issues/2885)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump mkdocs-include-markdown-plugin from 6.0.4 to 6.2.2 ([#&open-telemetry#8203;2806](https://redirect.github.com/testcontainers/testcontainers-go/issues/2806)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump mkdocs-markdownextradata-plugin from 0.2.5 to 0.2.6 ([#&open-telemetry#8203;2807](https://redirect.github.com/testcontainers/testcontainers-go/issues/2807)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 ([#&open-telemetry#8203;2868](https://redirect.github.com/testcontainers/testcontainers-go/issues/2868)) [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) - chore: bump ryuk to 0.11.0 ([#&open-telemetry#8203;2853](https://redirect.github.com/testcontainers/testcontainers-go/issues/2853)) [@&open-telemetry#8203;mdelapenya](https://redirect.github.com/mdelapenya) ### [`v0.34.1`](https://redirect.github.com/testcontainers/testcontainers-go/compare/v0.34.0...v0.34.1) [Compare Source](https://redirect.github.com/testcontainers/testcontainers-go/compare/v0.34.0...v0.34.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]> Co-authored-by: Yang Song <[email protected]> Co-authored-by: Pablo Baeyens <[email protected]>
- Loading branch information