-
Notifications
You must be signed in to change notification settings - Fork 277
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
Updated CI image to include JDK-8/11/17 distributions, kept JDK-14 as the default one #754
Conversation
… the default one Signed-off-by: Andriy Redko <[email protected]>
@peterzhuamazon could you please take a look? Thank you! @dblock sadly we cannot cut off JDK-14 in one shot (we will break 1.x builds due to https://bugs.openjdk.java.net/browse/JDK-8209058) but with new CI images we could set JAVA_HOME from build manifests. |
Should we install 14 from adoptium the same way as the other JDKs? Why is it a special case? |
Next question, why aren't we installing the other JDKs with |
That's the fun one, Adoptium picked up where AdoptOpenJDK left and provides JDK-16 and above + LTS releases right now (https://adoptium.net/archive.html) so for JDK-14/15, we still have to use older AdoptOpenJDK builds:
|
A bit relates to previous comments, |
Thanks, makes sense. |
Last question, are there tools that deal with the sourcing complexity for us in some verifiable and reliable manner? Like sdk? I know it's just a loop over some links and checksums, but wouldn't it be nicer to see |
Very valid point, I will try to use https://sdkman.io/, the peculiar way we use JDKs (basically, mutliple at the same time) goes a bit beyond |
@peterzhuamazon @bbarani might have something to say about sdkman, but it's an open-source tool like others we use that seems to do a great job at removing all this complexity - I use it to install my own JDKs |
@dblock just played with |
I don't want to send you on a wild goose chase either. I would open issues in sdkman to add whatever is missing and open an issue here linking to it to replace what you wrote with sdkman when that's ready, if we want to. This PR is A-OK with me! |
Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
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.
Thanks, great changes.
Wonder if you can do the same for AL2 image as well?
Thanks a lot @peterzhuamazon ! Yeah, sure, I could do that early next week, thanks! |
Signed-off-by: Andriy Redko [email protected]
Description
Updated CI image to include JDK-8/11/17 distributions, kept JDK-14 as the default one so the 1.x branches will continue to build properly.
Issues Resolved
Closes #732, part of opensearch-project/OpenSearch#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.