-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Liquibase includeall only works in dev mode #14751
Comments
/cc @andrejpetras, @geoand, @gsmet |
Hm, I tried a few Quarkus versions (down to 1.9.2) and I even tried switching off There are quite a few open issues in Liquibase for @jglink does it still work for you? (saw your comment here: liquibase/liquibase#1436 (comment)) |
Very weird indeed... |
I've added my findings to liquibase/liquibase#1436 (comment). |
Nope, that is a production app that is using the JDK ClassLoader, nothing Quarkus related. |
@famod The 'includeAll' worked for me with Quarkus 1.10.x which I think used Liquibase 4.1.1 |
@jglink Ok thanks. I've already tried 1.9.2 with Liquibase 4.1.1 but it did fix the problem. Strange. |
I was able to reproduce the issue and have an upcoming fix in Liquibase to handle it. |
Awesome, thanks @nvoxland! Fingers crossed it ends up in 4.3.1. 😉 |
We were already in the final testing for 4.3.1 (quick release to address a breaking issue), so it will be 4.3.2, unfortunately. |
Good news: This is fixed in I don't think it will work properly in native mode. I think we'll have to add support to the liquibase extension. |
So, I have to confirm that it's not working in native mode (I extended the IT locally). @gsmet @andrejpetras AFAICS, the included files are picked up here and end up in the native app: |
I created a separate issue for native: #16292 |
Resolves quarkusio#14751 by verifying that Liquibase upgrade in quarkusio#15972 fixed (it in JVM mode) (cherry picked from commit 153161c)
Describe the bug
I want to use includeAll in my changelog to include all other changelog files in a specific directory. This works in dev mode just fine.
When I run this project as jar however, the changelog in the directory is not executed / found.
Replacing the includeAll with a simple include works in dev mode and when run as jar.
Expected behavior
As seen from this dev mode run, the changeset that gets executed is actually printed as console output:
Actual behavior
The changeset is not executed, as seen from this run as jar. Note that the changeset is not even printed, indecating that it was not found.
To Reproduce
Steps to reproduce the behavior:
Configuration
Environment (please complete the following information):
Output of uname -a or ver:
Linux martin 5.8.0-41-generic #46~20.04.1-Ubuntu SMP Mon Jan 18 17:52:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version:
openjdk 11.0.7 2020-04-14 LTS
OpenJDK Runtime Environment Zulu11.39+15-CA (build 11.0.7+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.39+15-CA (build 11.0.7+10-LTS, mixed mode)
Quarkus version or git rev:
1.11.1.Final
Build tool (ie. output of mvnw --version or gradlew --version):
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/martin/.sdkman/candidates/maven/current
Java version: 11.0.7, vendor: Azul Systems, Inc., runtime: /home/martin/.sdkman/candidates/java/11.0.7-zulu
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.8.0-41-generic", arch: "amd64", family: "unix"
The text was updated successfully, but these errors were encountered: