Skip to content

Commit a9c9c94

Browse files
author
Guilherme Biff Zarelli
committed
fix: fixed flyway version
1 parent bfa6c47 commit a9c9c94

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.docker-compose/stack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3.8'
1+
version: '3.3'
22

33
volumes:
44
prometheus_data: {}
@@ -17,7 +17,7 @@ services:
1717
- 3306:3306
1818

1919
flyway:
20-
image: flyway/flyway
20+
image: flyway/flyway:7.5.2
2121
command: -url=jdbc:mysql://sampledb -schemas=sample -user=root -password=pass123 -connectRetries=60 migrate
2222
volumes:
2323
- ../resources/flyway/db/migration:/flyway/sql

acceptance-test/src/test/java/br/com/helpdev/atdd/DefaultContainerStarterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private static GenericContainer<?> buildMySqlContainer() {
4848
}
4949

5050
private static GenericContainer<?> buildFlywayContainer(final Startable... dependsOn) {
51-
return new GenericContainer<>("flyway/flyway")
51+
return new GenericContainer<>("flyway/flyway:7.5.2")
5252
.dependsOn(dependsOn)
5353
.withNetwork(NETWORK)
5454
.withCopyFileToContainer(MountableFile.forHostPath("../resources/flyway/db"), "/flyway/sql")

0 commit comments

Comments
 (0)