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

Update docker images suggested by dependabot and fix broken kafka tests #584

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Loading