-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Modernize and consolidate JDKs usage across all stages of the build. Use JDK-17 as bundled JDK distribution to run tests #1358
Conversation
Can one of the admins verify this patch? |
✅ DCO Check Passed 04c4fe5bcee06a6965c4910f17befc03a32b7e68 |
✅ Gradle Wrapper Validation success 04c4fe5bcee06a6965c4910f17befc03a32b7e68 |
…Use JDK-17 as bundled JDK distribution to run tests Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
✅ DCO Check Passed 95b28db |
✅ Gradle Wrapper Validation success 95b28db |
❌ Gradle Precommit failure 04c4fe5bcee06a6965c4910f17befc03a32b7e68 |
✅ Gradle Precommit success 95b28db |
Let's get any other references to JDKs in READMEs fixed as well, please? We also have things like https://github.com/opensearch-project/OpenSearch/blob/main/.ci/java-versions.properties I'd also would like to discuss what the next steps are after we merge this. I think we need to drive a similar change into all plugins that release with OpenSearch. We also had a ticket opened to lower the JDK used and bundled to 11. This goes the other way to 17. @reta, what do you suggest we want to do about that issue? @nknize any concerns? |
Thanks for the review @dblock, I split the change into multiple tasks (#1351), this is just the first one to replace JDK-15 with JDK-17, I thought about getting rid of other JDKs / updating READMEs etc in the next PR, just to reduce the scope of change and simplify the review (btw, I have not found any mentions of JDK-15 in the docs).
I could certainly explore this route, some build steps still require JDK-14 ( |
👍
The switch for the bundled JDK from 15 to 17 is my only concern. I agree that 17 is more "right" than 15 since LTS, but it's maybe not what we want. Let's go ahead with this PR anyway and I am looking forward for the rest of this! |
start gradle check |
@dblock thank you, already working on the next step. |
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
✅ Gradle Wrapper Validation success 5fab558 |
✅ DCO Check Passed 5fab558 |
The
The
Created #1361 |
✅ Gradle Precommit success 5fab558 |
start gradle check |
Hm ... this is a new one,
|
cc: @ryanbogan who's looking at #1276 I believe |
start gradle check |
I kicked it again to see if it reproducible or whether we have solved time travel. |
@saratvemulapalli I think #1358 (comment) and opensearch-project/opensearch-build#74 (comment) were the concerns from @dblock |
Signed-off-by: Andriy Redko andriy.redko@aiven.io
Description
Use JDK-17 as bundled JDK distribution to run tests. Tested on Windows / Linux / MacOS (x64), using Adoptium JDK distribution (https://adoptium.net/releases.html)
Issues Resolved
Part of #1351
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.