Skip to content

Commit

Permalink
build(deps): Bump testcontainers.version from 1.17.6 to 1.18.0 (#929)
Browse files Browse the repository at this point in the history
Bumps `testcontainers.version` from 1.17.6 to 1.18.0.
Updates `junit-jupiter` from 1.17.6 to 1.18.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/testcontainers/testcontainers-java/releases">junit-jupiter's
releases</a>.</em></p>
<blockquote>
<h2>1.18.0</h2>
<h2>Core module</h2>
<ul>
<li>Modules images such as <code>MySQLContainer</code> are now
automatically compatible with their corresponding images with the
<code>library</code> prefix</li>
</ul>
<pre lang="java"><code>MySQLContainer&lt;?&gt; mysql = new
MySQLContainer&lt;&gt;(&quot;library/mysql&quot;);
</code></pre>
<ul>
<li><code>testcontainers/vnc</code> has been bumped to version 1.3.0,
which brings ARM support.</li>
<li>Goodbye to the whale in the logs. In order to provide an easy way to
filter container logs the <code>tc</code> prefix has been added to
display all container logs or <code>tc.&lt;image-name:tag&gt;</code> for
a specific one. Check the <a
href="https://www.testcontainers.org/supported_docker_environment/logging_config/">logging
docs</a>.</li>
<li>There is a new <code>WaitStrategy</code>,
<code>ShellStrategy</code>. It can also be used by calling
<code>Wait.forSuccessfulCommand(&lt;command&gt;)</code></li>
</ul>
<h2>New integration</h2>
<p><a href="https://github.com/GoogleContainerTools/jib">Jib</a> has
been integrated to Testcontainers in order to take advantage of the nice
API it provides to create containers</p>
<pre lang="java"><code>GenericContainer&lt;?&gt; busybox = new
GenericContainer&lt;&gt;(
                new JibImage(
                    &quot;busybox:1.35&quot;,
                    jibContainerBuilder -&gt; {
return jibContainerBuilder.setEntrypoint(&quot;echo&quot;, &quot;Hello
World&quot;);
                    }
                )
            )
.withStartupCheckStrategy(new
OneShotStartupCheckStrategy().withTimeout(Duration.ofSeconds(3)))
</code></pre>
<h2>New modules 🆕</h2>
<h3>CrateDB module</h3>
<p>In order to use <code>CrateDBContainer</code> , declare the
dependency in your pom.xml/build.gradle</p>
<pre lang="xml"><code>&lt;dependency&gt;
    &lt;groupId&gt;org.testcontainers&lt;/groupId&gt;
    &lt;artifactId&gt;cratedb&lt;/artifactId&gt;
    &lt;version&gt;1.18.0&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;
</code></pre>
<pre lang="gradle"><code>testImplementation
&quot;org.testcontainers:cratedb:1.18.0&quot;
</code></pre>
<p>Choose a <a href="https://hub.docker.com/_/crate">crate</a> image
version and use it as declared below with your postgres driver</p>
<pre lang="java"><code>CrateDBContainer cratedb = new
CrateDBContainer(&quot;crate:5.2.5&quot;);
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/a2ac6fd7021347901f1b95ef72aea7973475df6b"><code>a2ac6fd</code></a>
Update junit5 documentation with disabledWithoutDocker and parallel
attribute...</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/b51b7ed5c7e27c2366583a3f04ec2caddf2e21ab"><code>b51b7ed</code></a>
Exclude guava, jackson-core, jackson-databind from jib-core (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6884">#6884</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/f50ddc00cb4c0bfbec36440b912e24da15f7ce1f"><code>f50ddc0</code></a>
Add checks permission to combine-prs</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/b221f3f3832295ad2344cf77fbaf2b64e1233b22"><code>b221f3f</code></a>
Add CrateDB module (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6790">#6790</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/a69260207584dca09cfb46e87ef571fbdc8675bb"><code>a692602</code></a>
Accept localstack/localstack-pro image name (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6836">#6836</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/1bd177f01edcee893cd1a85dba2d88663c2885a0"><code>1bd177f</code></a>
Add support for LocalStack v2 (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6808">#6808</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/9c5c352fbc6bc7497b611c2917585d7c2d384a89"><code>9c5c352</code></a>
Add Quarkus to the list of projects using testcontainers (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6832">#6832</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/cd7fbd74ea49c60e1666aad33ca2c3f0ace64b4c"><code>cd7fbd7</code></a>
Add combine-pr workflow (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6831">#6831</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/11c765e8243a8d2cb7f9e72ed81428dda6add9e4"><code>11c765e</code></a>
Allow jib-core dependency in checkPOMdependencies (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6811">#6811</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/552264164e09c203f26cff1c663ee6e7093cc9f1"><code>5522641</code></a>
Add Oracle R2DBC support (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6810">#6810</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/testcontainers/testcontainers-java/compare/1.17.6...1.18.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `neo4j` from 1.17.6 to 1.18.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/testcontainers/testcontainers-java/releases">neo4j's
releases</a>.</em></p>
<blockquote>
<h2>1.18.0</h2>
<h2>Core module</h2>
<ul>
<li>Modules images such as <code>MySQLContainer</code> are now
automatically compatible with their corresponding images with the
<code>library</code> prefix</li>
</ul>
<pre lang="java"><code>MySQLContainer&lt;?&gt; mysql = new
MySQLContainer&lt;&gt;(&quot;library/mysql&quot;);
</code></pre>
<ul>
<li><code>testcontainers/vnc</code> has been bumped to version 1.3.0,
which brings ARM support.</li>
<li>Goodbye to the whale in the logs. In order to provide an easy way to
filter container logs the <code>tc</code> prefix has been added to
display all container logs or <code>tc.&lt;image-name:tag&gt;</code> for
a specific one. Check the <a
href="https://www.testcontainers.org/supported_docker_environment/logging_config/">logging
docs</a>.</li>
<li>There is a new <code>WaitStrategy</code>,
<code>ShellStrategy</code>. It can also be used by calling
<code>Wait.forSuccessfulCommand(&lt;command&gt;)</code></li>
</ul>
<h2>New integration</h2>
<p><a href="https://github.com/GoogleContainerTools/jib">Jib</a> has
been integrated to Testcontainers in order to take advantage of the nice
API it provides to create containers</p>
<pre lang="java"><code>GenericContainer&lt;?&gt; busybox = new
GenericContainer&lt;&gt;(
                new JibImage(
                    &quot;busybox:1.35&quot;,
                    jibContainerBuilder -&gt; {
return jibContainerBuilder.setEntrypoint(&quot;echo&quot;, &quot;Hello
World&quot;);
                    }
                )
            )
.withStartupCheckStrategy(new
OneShotStartupCheckStrategy().withTimeout(Duration.ofSeconds(3)))
</code></pre>
<h2>New modules 🆕</h2>
<h3>CrateDB module</h3>
<p>In order to use <code>CrateDBContainer</code> , declare the
dependency in your pom.xml/build.gradle</p>
<pre lang="xml"><code>&lt;dependency&gt;
    &lt;groupId&gt;org.testcontainers&lt;/groupId&gt;
    &lt;artifactId&gt;cratedb&lt;/artifactId&gt;
    &lt;version&gt;1.18.0&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&gt;
&lt;/dependency&gt;
</code></pre>
<pre lang="gradle"><code>testImplementation
&quot;org.testcontainers:cratedb:1.18.0&quot;
</code></pre>
<p>Choose a <a href="https://hub.docker.com/_/crate">crate</a> image
version and use it as declared below with your postgres driver</p>
<pre lang="java"><code>CrateDBContainer cratedb = new
CrateDBContainer(&quot;crate:5.2.5&quot;);
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/a2ac6fd7021347901f1b95ef72aea7973475df6b"><code>a2ac6fd</code></a>
Update junit5 documentation with disabledWithoutDocker and parallel
attribute...</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/b51b7ed5c7e27c2366583a3f04ec2caddf2e21ab"><code>b51b7ed</code></a>
Exclude guava, jackson-core, jackson-databind from jib-core (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6884">#6884</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/f50ddc00cb4c0bfbec36440b912e24da15f7ce1f"><code>f50ddc0</code></a>
Add checks permission to combine-prs</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/b221f3f3832295ad2344cf77fbaf2b64e1233b22"><code>b221f3f</code></a>
Add CrateDB module (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6790">#6790</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/a69260207584dca09cfb46e87ef571fbdc8675bb"><code>a692602</code></a>
Accept localstack/localstack-pro image name (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6836">#6836</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/1bd177f01edcee893cd1a85dba2d88663c2885a0"><code>1bd177f</code></a>
Add support for LocalStack v2 (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6808">#6808</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/9c5c352fbc6bc7497b611c2917585d7c2d384a89"><code>9c5c352</code></a>
Add Quarkus to the list of projects using testcontainers (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6832">#6832</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/cd7fbd74ea49c60e1666aad33ca2c3f0ace64b4c"><code>cd7fbd7</code></a>
Add combine-pr workflow (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6831">#6831</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/11c765e8243a8d2cb7f9e72ed81428dda6add9e4"><code>11c765e</code></a>
Allow jib-core dependency in checkPOMdependencies (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6811">#6811</a>)</li>
<li><a
href="https://github.com/testcontainers/testcontainers-java/commit/552264164e09c203f26cff1c663ee6e7093cc9f1"><code>5522641</code></a>
Add Oracle R2DBC support (<a
href="https://redirect.github.com/testcontainers/testcontainers-java/issues/6810">#6810</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/testcontainers/testcontainers-java/compare/1.17.6...1.18.0">compare
view</a></li>
</ul>
</details>
<br />


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>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Simons <michael@simons.ac>
  • Loading branch information
dependabot[bot] and michael-simons committed Apr 11, 2023
1 parent 55f5d21 commit 40500b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<japicmp-maven-plugin.version>0.17.2</japicmp-maven-plugin.version>
<java-module-name />
<java.version>17</java.version>
<junit-jupiter-causal-cluster-testcontainer-extension.version>2022.1.3</junit-jupiter-causal-cluster-testcontainer-extension.version>
<junit-jupiter-causal-cluster-testcontainer-extension.version>2022.1.4</junit-jupiter-causal-cluster-testcontainer-extension.version>
<!-- to be overridden in sub modules -->
<junit.jupiter.version>5.9.2</junit.jupiter.version>
<license-maven-plugin.version>4.2.rc2</license-maven-plugin.version>
Expand Down Expand Up @@ -177,7 +177,7 @@
<spring-boot.version>3.0.5</spring-boot.version>
<spring-data-neo4j.version>7.0.4</spring-data-neo4j.version>
<system-lambda.version>1.2.1</system-lambda.version>
<testcontainers.version>1.17.6</testcontainers.version>
<testcontainers.version>1.18.0</testcontainers.version>
</properties>

<dependencyManagement>
Expand Down

0 comments on commit 40500b0

Please sign in to comment.