Bump testcontainers-bom from 1.17.6 to 1.18.0 #21

Merged
dependabot[bot] merged 1 commit from dependabot/maven/org.testcontainers-testcontainers-bom-1.18.0 into main 2023-04-06 09:20:19 +02:00
dependabot[bot] commented 2023-04-06 09:18:07 +02:00 (Migrated from github.com)

Bumps testcontainers-bom from 1.17.6 to 1.18.0.

Release notes

Sourced from testcontainers-bom's releases.

1.18.0

Core module

  • Modules images such as MySQLContainer are now automatically compatible with their corresponding images with the library prefix
MySQLContainer<?> mysql = new MySQLContainer<>("library/mysql");
  • testcontainers/vnc has been bumped to version 1.3.0, which brings ARM support.
  • Goodbye to the whale in the logs. In order to provide an easy way to filter container logs the tc prefix has been added to display all container logs or tc.<image-name:tag> for a specific one. Check the logging docs.
  • There is a new WaitStrategy, ShellStrategy. It can also be used by calling Wait.forSuccessfulCommand(<command>)

New integration

Jib has been integrated to Testcontainers in order to take advantage of the nice API it provides to create containers

GenericContainer<?> busybox = new GenericContainer<>(
                new JibImage(
                    "busybox:1.35",
                    jibContainerBuilder -> {
                        return jibContainerBuilder.setEntrypoint("echo", "Hello World");
                    }
                )
            )
                .withStartupCheckStrategy(new OneShotStartupCheckStrategy().withTimeout(Duration.ofSeconds(3)))

New modules 🆕

CrateDB module

In order to use CrateDBContainer , declare the dependency in your pom.xml/build.gradle

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>cratedb</artifactId>
    <version>1.18.0</version>
    <scope>test</scope>
</dependency>
testImplementation "org.testcontainers:cratedb:1.18.0"

Choose a crate image version and use it as declared below with your postgres driver

CrateDBContainer cratedb = new CrateDBContainer("crate:5.2.5");
</tr></table> 

... (truncated)

Commits
  • a2ac6fd Update junit5 documentation with disabledWithoutDocker and parallel attribute...
  • b51b7ed Exclude guava, jackson-core, jackson-databind from jib-core (#6884)
  • f50ddc0 Add checks permission to combine-prs
  • b221f3f Add CrateDB module (#6790)
  • a692602 Accept localstack/localstack-pro image name (#6836)
  • 1bd177f Add support for LocalStack v2 (#6808)
  • 9c5c352 Add Quarkus to the list of projects using testcontainers (#6832)
  • cd7fbd7 Add combine-pr workflow (#6831)
  • 11c765e Allow jib-core dependency in checkPOMdependencies (#6811)
  • 5522641 Add Oracle R2DBC support (#6810)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)
Bumps [testcontainers-bom](https://github.com/testcontainers/testcontainers-java) 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">testcontainers-bom'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 compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.testcontainers:testcontainers-bom&package-manager=maven&previous-version=1.17.6&new-version=1.18.0)](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>
kokuwaio-bot (Migrated from github.com) approved these changes 2023-04-06 09:18:18 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: kokuwaio/keycloak-event-metrics#21
No description provided.