-
Notifications
You must be signed in to change notification settings - Fork 674
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
force the use jdk21 through Crave #2498
Conversation
I tried running this for #2497 (https://foss.crave.io/app/#/build/info/109489?team=5)
I wonder If this setting can be added to |
Before this change here, isn't there some existing build image for Solr you @uvatbc worked on ? @iamsanjay assuming the build starts running on JDK 21 (wherever -- CI / Crave / dev machine, wherever), should it pass in your experience? There are "flapper"/intermittent failures here & there but does it at least seem sound as-is? Locally I'm not the best judge on my machine as I have a company provided JDK with some differences. |
If crave.yml change the Java version to 21,
And,
|
This PR has had no activity for 60 days and is now labeled as stale. Any new activity or converting it to draft will remove the stale label. To attract more reviewers, please tag people who might be familiar with the code area and/or notify the dev@solr.apache.org mailing list. Thank you for your contribution! |
Ok let me check again. |
@uvatbc thanks for offering to help further (edit our build) if you wish but I wouldn't want any feedback on these PRs to be implied that it is for you to update our build. You give us Crave.io build machines for free, which is tremendous! It's up to one of us committers or a volunteer to make the build Java 21 compliant. |
@iamsanjay as this just adds a file, maybe you should simply include it in #2682 as you are touching other CI files there as well so why not. |
Oh nevermind; it's already there :-) I'll close this PR; thanks @uvatbc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW I updated the build image configuration in Crave (with my privileges to do so there) a few minutes ago. So I don't think there's a point anymore to this crave.yaml file. CC @iamsanjay
https://issues.apache.org/jira/browse/SOLR-XXXXX
Description
The Solr project is considering the usage of JDK 21 at some point.
We need to control which JDK is used in Crave.
Solution
A crave.yaml file at the top of the source repository is read by Crave to override any Crave defaults.
This change introduces the file, with the image override for JDK 21.
Tests
I ran the following command on my private branch with this file and against the upstream Solr, and saw that the new JDK has been used with this change.
Before change: https://foss.crave.io/app/#/build/info/109405?team=5
After change: https://foss.crave.io/app/#/build/info/109418?team=5
Full log output:
Checklist
Please review the following and check all that apply:
main
branch../gradlew check
.