Skip to content

Commit 184afdd

Browse files
rnorthbsideup
andauthored
Upgrade Ryuk to 0.3.1 (#3629)
Co-authored-by: Sergei Egorov <[email protected]>
1 parent 30f399e commit 184afdd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

core/src/main/java/org/testcontainers/utility/ResourceReaper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public static String start(String hostIpAddress, DockerClient client) {
8888
@SneakyThrows(InterruptedException.class)
8989
public static String start(DockerClient client) {
9090
String ryukImage = ImageNameSubstitutor.instance()
91-
.apply(DockerImageName.parse("testcontainers/ryuk:0.3.0"))
91+
.apply(DockerImageName.parse("testcontainers/ryuk:0.3.1"))
9292
.asCanonicalNameString();
9393
DockerClientFactory.instance().checkAndPullImage(client, ryukImage);
9494

core/src/test/java/org/testcontainers/utility/TestcontainersConfigurationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ public void shouldReadReuseFromEnvironment() {
160160

161161
@Test
162162
public void shouldTrimImageNames() {
163-
userProperties.setProperty("ryuk.container.image", " testcontainersofficial/ryuk:0.3.0 ");
164-
assertEquals("trailing whitespace was not removed from image name property", "testcontainersofficial/ryuk:0.3.0",newConfig().getRyukImage());
163+
userProperties.setProperty("ryuk.container.image", " testcontainers/ryuk:0.3.1 ");
164+
assertEquals("trailing whitespace was not removed from image name property", "testcontainers/ryuk:0.3.1",newConfig().getRyukImage());
165165
}
166166

167167
private TestcontainersConfiguration newConfig() {

docs/features/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ It takes a couple of seconds, but if you want to speed up your tests, you can di
4747
Testcontainers uses public Docker images to perform different actions like startup checks, VNC recording and others.
4848
Some companies disallow the usage of Docker Hub, but you can override `*.image` properties with your own images from your private registry to workaround that.
4949

50-
> **ryuk.container.image = testcontainers/ryuk:0.3.0**
50+
> **ryuk.container.image = testcontainers/ryuk:0.3.1**
5151
> Performs fail-safe cleanup of containers, and always required (unless [Ryuk is disabled](#disabling-ryuk))
5252
5353
> **tinyimage.container.image = alpine:3.5**
@@ -74,7 +74,7 @@ Some companies disallow the usage of Docker Hub, but you can override `*.image`
7474
7575
## Customizing Ryuk resource reaper
7676

77-
> **ryuk.container.image = testcontainers/ryuk:0.3.0**
77+
> **ryuk.container.image = testcontainers/ryuk:0.3.1**
7878
> The resource reaper is responsible for container removal and automatic cleanup of dead containers at JVM shutdown
7979
8080
> **ryuk.container.privileged = false**

0 commit comments

Comments
 (0)