Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump testcontainers.version from 1.17.6 to 1.18.0 #32631

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 13, 2023

Bumps testcontainers.version from 1.17.6 to 1.18.0.
Updates 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

Updates testcontainers from 1.17.6 to 1.18.0

Release notes

Sourced from testcontainers'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

You can trigger a rebase of this PR 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)

@dependabot dependabot bot added the area/dependencies Pull requests that update a dependency file label Apr 13, 2023
@quarkus-bot

This comment has been minimized.

@famod famod force-pushed the dependabot/maven/testcontainers.version-1.18.0 branch from 0398683 to 115990e Compare April 13, 2023 22:37
@quarkus-bot

This comment has been minimized.

@famod
Copy link
Member

famod commented Apr 14, 2023

This needs a closer look, the following error is all over the place:

Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration
	at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:212)

/cc @geoand

@geoand
Copy link
Contributor

geoand commented Apr 14, 2023

Ouch...

Bumps `testcontainers.version` from 1.17.6 to 1.18.0.

Updates `testcontainers-bom` from 1.17.6 to 1.18.0
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](testcontainers/testcontainers-java@1.17.6...1.18.0)

Updates `testcontainers` from 1.17.6 to 1.18.0
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](testcontainers/testcontainers-java@1.17.6...1.18.0)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.testcontainers:testcontainers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@famod famod force-pushed the dependabot/maven/testcontainers.version-1.18.0 branch from 115990e to 4a6a330 Compare April 16, 2023 22:40
@famod
Copy link
Member

famod commented Apr 16, 2023

That should do it. I keep forgetting about keeping docker-java in sync.

@quarkus-bot
Copy link

quarkus-bot bot commented Apr 17, 2023

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

Copy link
Contributor

@geoand geoand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@gsmet gsmet merged commit e300710 into main Apr 17, 2023
@quarkus-bot quarkus-bot bot added this to the 3.1 - main milestone Apr 17, 2023
@dependabot dependabot bot deleted the dependabot/maven/testcontainers.version-1.18.0 branch April 17, 2023 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants