Skip to content

Commit

Permalink
Update mysql docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
dnestoro authored and fniephaus committed Oct 7, 2024
1 parent fd6496a commit c452fe2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
container-registry.oracle.com/mysql/community-server:9.0.0
container-registry.oracle.com/mysql/community-server:9.0.1
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.0.0").redirectOutput(new File("mysql-stdout.txt"))
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.0.1").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 @@
container-registry.oracle.com/mysql/community-server:9.0.0
container-registry.oracle.com/mysql/community-server:9.0.1
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.0.0").redirectOutput(new File("mysql-stdout.txt"))
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.0.1").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 @@
container-registry.oracle.com/mysql/community-server:9.0.0
container-registry.oracle.com/mysql/community-server:9.0.1
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.0.0").inheritIO().start();
"-e", "MYSQL_PASSWORD=" + PASSWORD, "container-registry.oracle.com/mysql/community-server:9.0.1").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.0.0
container-registry.oracle.com/mysql/community-server:9.0.1
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.0.0", true);
runImage("container-registry.oracle.com/mysql/community-server:9.0.1", 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.0.0
FROM container-registry.oracle.com/mysql/community-server:9.0.1

0 comments on commit c452fe2

Please sign in to comment.