dependabot[bot] opened a new pull request, #25294: URL: https://github.com/apache/beam/pull/25294
Bumps [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) from 0.15.0 to 0.16.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testcontainers/testcontainers-go/releases">github.com/testcontainers/testcontainers-go's releases</a>.</em></p> <blockquote> <h2>v0.16.0</h2> <h1>What's Changed</h1> <h2>⚠️ Breaking Changes</h2> <ul> <li> <p>feat: support native docker compose api (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/476">#476</a>) <a href="https://github.com/baez90"><code>@baez90</code></a></p> <p>Docker Compose v2 is implemented in Go, and for that reason we have decided to provide native Go support to Compose, deprecating the shell-escape based <code>LocalDockerCompose</code>, which was invoking the local binary of compose. Given the version includes the Compose dependency, and the Docker folks added <a href="https://github-redirect.dependabot.com/docker/compose/issues/9946#issuecomment-1288923912">a replace directive until the upcoming Docker 22.06 release is out</a>, we were forced to add it too, causing <strong>consumers of Testcontainers for Go to add the following replace directive</strong> too.</p> </li> </ul> <pre lang="golang"><code>replace ( github.com/docker/cli => github.com/docker/cli v20.10.3-0.20221013132413-1d6c6e2367e2+incompatible // 22.06 master branch github.com/docker/docker => github.com/docker/docker v20.10.3-0.20221013203545-33ab36d6b304+incompatible // 22.06 branch github.com/moby/buildkit => github.com/moby/buildkit v0.10.1-0.20220816171719-55ba9d14360a // same as buildx <pre><code>github.com/opencontainers/runc =&gt; github.com/opencontainers/runc v1.1.2 // Can be removed on next bump of containerd to &gt; 1.6.4 // For k8s dependencies, we use a replace directive, to prevent them being // upgraded to the version specified in containerd, which is not relevant to the // version needed. // See https://github.com/docker/buildx/pull/948 for details. // https://github.com/docker/buildx/blob/v0.8.1/go.mod#L62-L64 k8s.io/api =&gt; k8s.io/api v0.22.4 k8s.io/apimachinery =&gt; k8s.io/apimachinery v0.22.4 k8s.io/client-go =&gt; k8s.io/client-go v0.22.4 </code></pre> <p>) </code></pre></p> <ul> <li> <p>fix: do not prepend garbage in the container.Exec response (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/624">#624</a>) <a href="https://github.com/mdelapenya"><code>@mdelapenya</code></a></p> <p>The signature of the <code>Exec</code> function on a container created by the library has been changed in what we thought it was a non-breaking change manner, using variadic arguments. But we confirmed that it could be a breaking change in the rare case where the Exec function is assigned to a variable.</p> </li> </ul> <pre lang="golang"><code>// The original Exec function works here because its type is func(context.Context, []string), // but the new Exec function’s type is func(context.Context, []string, ...ProcessOption), // so the assignment fails at compile time. For that reason we are moving it to this section. var execFn func(ctx context.Context, cmd []string) = myContainer.Exec </code></pre> <h2>🚀 Features</h2> <ul> <li> <p>feat: implement new MultiStrategy design (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/580">#580</a>) <a href="https://github.com/hhsnopek"><code>@hhsnopek</code></a></p> <p>This PR enhances how the <code>wait.ForAll</code> strategy behaves: it will control the startup timeout and the deadline for all inner wait strategies, using two methods: <code>WithStartupTimeoutDefault</code>, which sets the default timeout for all inner wait strategies; and <code>WithDeadline</code>, which sets a time.Duration which limits all wait strategies. As a consequence, the already existing function <code>WithStartupTimeout</code> has been deprecated from the multi-strategy struct.</p> </li> <li> <p>feat: Auth config for build images (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/602">#602</a>) <a href="https://github.com/paulozenida"><code>@paulozenida</code></a></p> </li> <li> <p>feat: log docker info from compose (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/591">#591</a>) <a href="https://github.com/mdelapenya"><code>@mdelapenya</code></a></p> </li> </ul> <h2>🐛 Bug Fixes</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/9ad2a505ee7ac8bf76a2c704bb567bd987f4c01e"><code>9ad2a50</code></a> feat: implement new MultiStrategy design (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/580">#580</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/eb22bbd4d318d42e838ee478f50e9bc10c4ff0f6"><code>eb22bbd</code></a> docs: update method to <code>nginxC.Terminate</code> (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/627">#627</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/4c4def7778f19ea18fcfaea3605f52703e5e242f"><code>4c4def7</code></a> fix: do not prepend garbage in the container.Exec response (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/624">#624</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/1f88e88e96b3920578dac30da9037f900da15b48"><code>1f88e88</code></a> chore: retire podman pipeline (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/625">#625</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/f72dfeef32a0c9239d3a6c3d69ab2c3cdee918df"><code>f72dfee</code></a> update gotest.md - fix errors in the example (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/623">#623</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/70932aa8539d51feeb8372c7d233905bdc07304a"><code>70932aa</code></a> chore: sync governance files (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/622">#622</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/1189044fe1bebc190a93aa72095880b20fae45a1"><code>1189044</code></a> chore: use a fixed version of MySQL (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/617">#617</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/42d1d2fc6102adbc3771a13f199012e266231d2f"><code>42d1d2f</code></a> docs: fix syntax (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/615">#615</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/5432154afbbea2ec6ed6af308594e9adc7bfaf90"><code>5432154</code></a> feat: add golangci-lint (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/569">#569</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-go/commit/5ff899f7c44d998aa9b006ed0b29ac440f2a40b4"><code>5ff899f</code></a> docs: networking basics (<a href="https://github-redirect.dependabot.com/testcontainers/testcontainers-go/issues/612">#612</a>)</li> <li>Additional commits viewable in <a href="https://github.com/testcontainers/testcontainers-go/compare/v0.15.0...v0.16.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
