Skip to content

Commit

Permalink
Update docker images suggested by dependabot and fix broken kafka tes…
Browse files Browse the repository at this point in the history
…ts (#584)

* Update ryuk docker image

* Update nats docker image

* Upadte mysql docker image

* Fixed metadata typeReachable value

---------

Co-authored-by: Milenko Supic <[email protected]>
  • Loading branch information
dnestoro and msupic authored Feb 20, 2025
1 parent 7305228 commit 8472703
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
container-registry.oracle.com/mysql/community-server:9.1.0
container-registry.oracle.com/mysql/community-server:9.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static void beforeAll() throws IOException {
System.out.println("Starting MySQL ...");
process = new ProcessBuilder(
"docker", "run", "--rm", "-p", "3306:3306", "-e", "MYSQL_DATABASE=" + DATABASE, "-e", "MYSQL_USER=" + USERNAME,
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.1.0").redirectOutput(new File("mysql-stdout.txt"))
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.2.0").redirectOutput(new File("mysql-stdout.txt"))
.redirectError(new File("mysql-stderr.txt")).start();

// Wait until connection can be established
Expand Down
2 changes: 1 addition & 1 deletion tests/src/io.nats/jnats/2.16.11/required-docker-images.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nats:2.10.22
nats:2.10.24
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class JnatsTest {
@BeforeAll
public void init() throws IOException {
System.out.println("Starting NATS ...");
process = new ProcessBuilder("docker", "run", "--rm", "-p", "4222:4222", "nats:2.10.22").inheritIO().start();
process = new ProcessBuilder("docker", "run", "--rm", "-p", "4222:4222", "nats:2.10.24").inheritIO().start();

waitUntil(() -> {
openConnection().close();
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
container-registry.oracle.com/mysql/community-server:9.1.0
container-registry.oracle.com/mysql/community-server:9.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static void beforeAll() throws IOException {
System.out.println("Starting MySQL ...");
process = new ProcessBuilder(
"docker", "run", "--rm", "-p", "3306:3306", "-e", "MYSQL_DATABASE=" + DATABASE, "-e", "MYSQL_USER=" + USERNAME,
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.1.0").redirectOutput(new File("mysql-stdout.txt"))
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.2.0").redirectOutput(new File("mysql-stdout.txt"))
.redirectError(new File("mysql-stderr.txt")).start();

// Wait until connection can be established
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{
"name": "sun.security.provider.ConfigFile",
"condition": {
"typeReachable": "javax.security.auth.login.Configuration$2"
"typeReachable": "javax.security.auth.login.Configuration"
},
"methods": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{
"name": "sun.security.provider.ConfigFile",
"condition": {
"typeReachable": "javax.security.auth.login.Configuration$2"
"typeReachable": "javax.security.auth.login.Configuration"
},
"methods": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
container-registry.oracle.com/mysql/community-server:9.1.0
container-registry.oracle.com/mysql/community-server:9.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void init() throws IOException {
logger.info("Starting MySQL ...");
process = new ProcessBuilder(
"docker", "run", "--rm", "-p", "3306:3306", "-e", "MYSQL_DATABASE=" + DATABASE, "-e", "MYSQL_USER=" + USERNAME,
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.1.0").inheritIO().start();
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.2.0").inheritIO().start();

waitUntil(() -> {
openConnection().close();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nginx:1-alpine-slim
testcontainers/ryuk:0.10.2
testcontainers/ryuk:0.11.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ryuk.container.image=testcontainers/ryuk:0.10.2
ryuk.container.image=testcontainers/ryuk:0.11.0
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nginx:1-alpine-slim
testcontainers/ryuk:0.10.2
testcontainers/ryuk:0.11.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ryuk.container.image=testcontainers/ryuk:0.10.2
ryuk.container.image=testcontainers/ryuk:0.11.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
container-registry.oracle.com/mysql/community-server:9.1.0
container-registry.oracle.com/mysql/community-server:9.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private void runImage(String image, boolean shouldSucceed) throws Exception {

@Test
void pullAllowedImage() throws Exception {
runImage("container-registry.oracle.com/mysql/community-server:9.1.0", true);
runImage("container-registry.oracle.com/mysql/community-server:9.2.0", true);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM container-registry.oracle.com/mysql/community-server:9.1.0
FROM container-registry.oracle.com/mysql/community-server:9.2.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM nats:2.10.22
FROM nats:2.10.24
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM testcontainers/ryuk:0.10.2
FROM testcontainers/ryuk:0.11.0

0 comments on commit 8472703

Please sign in to comment.