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
Allow Jib to set the base JVM image based on the target Java version #22040
Conversation
core/deployment/src/main/java/io/quarkus/deployment/steps/CompiledJavaVersionBuildStep.java
Show resolved
Hide resolved
Ah, it's still a draft, I approved it already :) |
Thanks! It's in draft because I am waiting on input about what the proper images should be |
5abde41
to
02fc0f8
Compare
This is now a breaking change since the base JVM image was changed for JDK 11. |
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 02fc0f8
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 17 #- Failing: extensions/opentelemetry/opentelemetry/deployment
! Skipped: extensions/opentelemetry/opentelemetry-exporter-jaeger/deployment extensions/opentelemetry/opentelemetry-exporter-otlp/deployment integration-tests/opentelemetry and 2 more 📦 extensions/opentelemetry/opentelemetry/deployment✖
|
...-image-jib/deployment/src/main/java/io/quarkus/container/image/jib/deployment/JibConfig.java
Outdated
Show resolved
Hide resolved
...age-jib/deployment/src/main/java/io/quarkus/container/image/jib/deployment/JibProcessor.java
Show resolved
Hide resolved
02fc0f8
to
1910c7e
Compare
While it is a breaking change, I wonder if we should push it to 2.6 anyway. |
Yeah, I had the same thought. I don't see why not, but I'll leave it up to you |
What are the chances it'll break other platform members? In general, introducing breaking changes after a CR shouldn't be acceptable. |
didnt we not also break it for the dockerfile scenario too ? |
Not sure, I haven't seen any docker related changes |
@geoand this change could have an entry in docs. |
Why do you think so? I mean the configuration property is documented and we'll add an entry to the migration guide for |
Migration guide is fine, thanks! |
The entry is here. |
Great, thanks. |
YW! |
Based on https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/Should.20.20jib.20autoconfig.20ubi.2017.20image.20for.20java.2017.20projects.3F