Skip to content

Commit e193351

Browse files
committed
Fix crash on startup when running in Docker
When running Parcelo 0.13.0 in Docker, Flyway doesn't find the necessary service files to validate migration naming. This fails applying migrations added in 0.13.0, causing the application to crash continuously on startup. Oddly enoughy, this issue does not manifest itself when running Parcelo through Intellij IDEA's run configuration. Fix this crash by merging service files to ensure the definitions Flyway requires can be found.
1 parent b0d4af9 commit e193351

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

console/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ dependencies {
6565

6666
tasks.withType<ShadowJar>().configureEach {
6767
isZip64 = true
68+
// Needed because of https://github.com/flyway/flyway/issues/3594
69+
mergeServiceFiles()
6870
}
6971

7072
tasks.withType<DokkaTask>().configureEach {

0 commit comments

Comments
 (0)