-
Notifications
You must be signed in to change notification settings - Fork 59
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
Added launcher script for runtime images. #247
Added launcher script for runtime images. #247
Conversation
As per my investigation the run-java.sh script holds good for runtime images also. I dont see anything which we can filter from this launcher script. Already we have filtered s2i related changes like maven, jolokia and prometheus(which in turn has maven related changes for build purpose) from runtime launch scripts. Other than maven(which has major role for application building) rest other content in the launcher script holds good for runtime images also. |
- This required changes to module.yaml and run script also. Signed-off-by: Jayashree Huttanagoudar <jhuttana@redhat.com>
6e3a0c3
to
1405857
Compare
If the existing run script is suitable for the runtime images, they should include that module ( The JVM tuning parameters to the existing builder run script are out of date and need reviewing (see e.g. OPENJDK-78 and the related issues). I wouldn't want to copy the existing ones over to the runtime images if we are going to change or remove them anyway. We definitely do not want I think we need to list out all the features of the existing builder run script; the upstream fabric8 run-java script; any that have been specifically requested by e.g. the quarkus team for the runtime images; and compare those lists together, to figure out feature-by-feature what we want. Also, I'll tidy up the OPENJDK JIRAs to make the review work we need to do on the existing tuning parameters clearer, and possibly set those a blockers on this. |
This helps. I will also take a look.
Setting blockers will be a great help :) Further,
Except configure_passwd() , to me it looks like it covers all the features requested by quarkus team here: https://issues.redhat.com/browse/OPENJDK-413 |
I was going through https://issues.redhat.com/browse/OPENJDK-78 and in the issue description found point which : |
The challenge is reaching that without breaking backwards compatibility for existing customers. |
Ok. |
maybe I'm missing something here but haven't backwards compatibility not already been broken by not having run-java.sh available ? :) |
These images have never shipped with a runtime script, so no. My comment RE backwards compatibility was in reply to the suggestion that we drop all the JVM tuning parameters by default for the existing run script - which is in the builder images. |
@gsmet we have made some forward progress on this today. Sadly the last couple of weeks were interrupted by two CVEs and an OpenJDK regression. |
Cool, thanks for letting me know! |
This was superseded by #277. |
Could you please review the changes?
This fix is to address : https://issues.redhat.com/browse/OPENJDK-413 issue.