feat: add support for SapMachine JDK/JRE
Description: This PR adds support for setting up the SapMachine JDK/JRE using the setup-java action. The implementation is heavily inspired by the dragonwell implementation. The setup-java supports setting up SapMachine for JRE and JDK for following operating systems/architectures:
- macos (arm/x86)
- linux (arm/x86)
- linux-muse (x86) (for alpine containers)
- windows (x86)
The releases URL https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json, which is used to determine the download URL, contains the up-to-date full list of all SapMachine JDKs and JREs.
Otherwise this PR adds 21 to the list of major e2e tested versions for all releases, which works for all. If you want I can as well add it to a separate PR.
Related issue: fixes #72 fixes https://github.com/SAP/SapMachine/issues/821
Check list:
- [x] Mark if documentation changes are required.
- [x] Mark if tests were added or updated to cover the changes.
Tested additionally via:
- e2e tests: https://github.com/Shegox/setup-java/actions/runs/8452912940
- SapMachine specific e2e setup tests: https://github.com/Shegox/setup-sapmachine-test/actions/workflows/matrix.yml
@aparnajyothi-y can we get a review of this PR please
great!
Great! Go for it! 💚
@HarithaVattikuti can you take a look?
@priyagupta108 can you take a look?
@mahabaleshwars Could you take a look here or give us some ETA for when this can be merged? We have quite some folks waiting for this... Thanks
@RealCLanger https://github.com/actions/setup-java/pull/501 is stuck in a similar fashion: no response from the maintainers for months. I was told they need their lawyers to review the license of the JDK distro to ensure the distro can be integrated into this action. We went through this with them when adding Oracle JDK (https://github.com/actions/setup-java/pull/401), but somehow it now seems that process is stuck indefinitely.
@stoe Could you find out something about the progress of this already?
Hello Everyone, We have prioritized the feature request to implement support for SapMachine JDK/JRE. We have started reviewing and testing this PR. We will update you once we have some feedback.
Hello Everyone, We have prioritized the feature request for this Q4 to implement support for SapMachine JDK/JRE. We have started reviewing and testing this PR for the feature request. We will update you once we have some feedback.
Thanks for the update. So let's hope this can be integrated by Q4 or even sooner... 😄
Hello Everyone, We have prioritized the feature request to implement support for SapMachine JDK/JRE. We have started reviewing and testing this PR. We will update you once we have some feedback.
@aparnajyothi-y Hi, can you please give an update how long this will take? Can we help/assist you in any way to get this PR sooner solved? Best Regards Christian
Any updates (@aparnajyothi-y) ?
Hello Everyone, we are in the process of reviewing this PR. We will update once the review completed.