fix(deps): update dependency org.testcontainers:spock to v1.18.0#458
Merged
graemerocher merged 1 commit intomasterfrom May 4, 2023
Merged
fix(deps): update dependency org.testcontainers:spock to v1.18.0#458graemerocher merged 1 commit intomasterfrom
graemerocher merged 1 commit intomasterfrom
Conversation
|
Kudos, SonarCloud Quality Gate passed! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








This PR contains the following updates:
1.17.6->1.18.0Release Notes
testcontainers/testcontainers-java
v1.18.0Compare Source
Core module
MySQLContainerare now automatically compatible with their corresponding images with thelibraryprefixtestcontainers/vnchas been bumped to version 1.3.0, which brings ARM support.tcprefix has been added to display all container logs ortc.<image-name:tag>for a specific one. Check the logging docs.WaitStrategy,ShellStrategy. It can also be used by callingWait.forSuccessfulCommand(<command>)New integration
Jib has been integrated to Testcontainers in order to take advantage of the nice API it provides to create containers
New modules 🆕
CrateDB module
In order to use
CrateDBContainer, declare the dependency in your pom.xml/build.gradletestImplementation "org.testcontainers:cratedb:1.18.0"Choose a crate image version and use it as declared below with your postgres driver
Solace Module
In order to use
SolaceContainer, declare the dependency in your pom.xml/build.gradletestImplementation "org.testcontainers:solace:1.18.0"Now, you can use a Solace PubSub running in a container and connecting via AMQP by doing the following:
More information about
SolaceContainercan be found in the documentation.Container modules
CockroachDB
Starting with
cockroachdb/cockroach:22.1.0, there is support for setting the username, password and database name via environment variables. Now, the Testcontainers module provides convenient setters:GCloud module
Google has released a new image which supports ARM and therefore
BigtableEmulatorContainer,DatastoreEmulatorContainer,FirestoreEmulatorContainer,PubSubEmulatorContainernow support it as well.So, if previously you were doing something like
Now, you can simply do
JUnit Jupiter Module
@Testcontainersoffers a new attributeparallel, which start those containers classes annotated by@ContainerKafka Module
Self-managed or Kraft mode (a.k.a Zookeeperless) support has been added
LocalStack Module
SERVICESenvironment variable became optional in version 0.13.0 and instead LocalStack will initialize a service once the first request is served. So, nowadaysLocalStackContainercan be used just like this:Also, LocalStack module supports version 2.0. It is highly recommended to use the latest version of LocalStack images.
Last but not least, dependency on AWS SDK V1 was dropped. So, that means by upgrading to version 1.18.0, the dependency can be removed if not used directly.
MongoDB Module
MongoDBContainerby default has been enabling ReplicaSet mode. Starting in this version, sharding has been added.Selenium Module
Selenium 4 has built-in support for Microsoft Edge (which is based on Chromium) and now it is supported by
BrowserWebDriverContaineras well:More
🚀 Features & Enhancements
☠️ Deprecations
🐛 Bug Fixes
allowInsecure()onHttpWaitStrategyfor non-localhost Docker daemon (#6314) @kiviewConfiguration
📅 Schedule: Branch creation - "every weekend" in timezone Europe/Prague, 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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.