-
Notifications
You must be signed in to change notification settings - Fork 766
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
IBM Semeru (OpenJ9) Support #289
Conversation
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.
Since Semeru Runtimes are produced by IBM, I'll comment as the chief architect (not as OpenJ9 project lead) :) . First of all, thanks for putting this all together!
The API for Semeru Runtimes is actually up we just don't have the documentation up yet (hopefully coming soon). It leverages the Adoptium v3 API, of course, so it should be familiar...
Some specific examples:
ibm-semeru-open-jdk_x64_linux_11.0.13_8_openj9-0.29.0.tar.gz:
. curl -OLJk https://ibm.com/semeru-runtimes/api/v3/binary/version/jdk-11.0.13+8_openj9-0.29.0/linux/x64/jdk/openj9/normal/ibm
latest:
. curl -OLJk https://ibm.com/semeru-runtimes/api/v3/binary/latest/11/ga/linux/x64/jdk/openj9/normal/ibm
Schema should be familiar:
. latest: https://ibm.com/semeru-runtimes/api/v3/binary/latest/{feature_version}/{release_type}/{os}/{arch}/{image_type}/{jvm_impl}/{heap_size}/{vendor}
. specific release: https://ibm.com/semeru-runtimes/api/v3/binary/version/{release_name}/{os}/{arch}/{image_type}/{jvm_impl}/{heap_size}/{vendor}
The Certified Edition binaries are also available but aren't available on all platforms so you'll probably want to stick with the Open Edition binaries.
Thanks for answering @mstoodle
I summoned the big boss himself ;)
Does it support the
In the current action code we cannot directly use the If you do not want to implement the maven version range string (
Regarding the above, do you have Swagger docs?
I agree, z/OS is also explicitly disabled in the tests and licensing would probably complicate things |
I'll defer to @AdamBrousseau to comment on the endpoint you're asking about. On the Swagger docs: it's in the works, but I jumped the gun a bit telling you about the API :) . |
We have forked Adopt's api so it should work the same. That being said our fork is a bit out of date as I had disabled our auto-mirror while we get it up and running. I started to look through the diff to see if there is something we are missing that would explain the 400. Haven't found anything obvious yet. I will follow up and report back. |
Do you have any updates for us @AdamBrousseau 🙂? |
Any news? I'm eagerly waiting for this! 🙂 |
Hey @jord1e @guizmaii , |
@AdamBrousseau any updates :)? |
@mstoodle @AdamBrousseau @jord1e @dmitry-shibanov |
https://www.ibm.com/support/pages/semeru-runtimes-getting-started/ Under "Downloading packages" it still lists the AdoptOpenJDK API. Could you send the link to the "market place", I will update the PR on Sunday if I have it before then :). |
Now that the Marketplace is up, I'm hoping i can spend some cycles on the Semeru API so we can get it "published" and get this resolved. In the meantime, is there anything preventing you from using the existing AdiotOpenJDK API? It still supports Semeru Open Edition. Does it give the same 400 error as the Semeru API? Also keep in mind the Adoptium Marketplace only promotes Semeru Certified Edition. |
We'd really like to see this go in as well at New Relic. We just recently did some work to support these runtimes with our Java Agent and need Semeru available for our test suites. |
Ill try to do it today (have been saying this for a long time, will make a calendar entry). |
# Conflicts: # .github/workflows/e2e-versions.yml # README.md # dist/cleanup/index.js # dist/setup/index.js # src/distributions/distribution-factory.ts
@dmitry-shibanov cant get the dist to work but all checks are passing on jord1e-forks#1 Can we get one more review (or merge) :)? |
As an Eclipse OpenJ9 project lead and the chief architect for IBM Semeru Runtimes, I really do appreciate all the effort and persistence that the contributor and supporters have volunteered into this pull request and feel very badly that this effort hasn't yet been rewarded (now at 13 months after the PR was first opened despite all the support and upvoting from others). This may be a complete red herring (and apologies if it is), but roughly comparing the corresponding Alibaba Dragonwell PR (ominously numbered #444) with this one, I noticed that this PR changes |
@brcrista is there still a license concern that needs to be addressed here? |
Hi, @mstoodle. The problem you mentioned about the lack of dist/cleanup/index.js. I executed the 'ncc build', but my PR will not modify the dist/cleanup/index.js. |
Hi @Accelerator1996 thanks for commenting. With my earlier comment here, I was just trying to see if we could learn from your PR to help resolve the failing "check dist" test in this PR. Everything I said was pure guesswork. I wasn't suggesting your PR had any problem, so I'm sorry if I gave you that impression! |
I have actually been repeatedly comparing the difference between me and other PRs, and learn from them. Thank you very much for your reminder. |
# Conflicts: # .github/workflows/e2e-versions.yml # README.md # dist/setup/index.js # src/distributions/distribution-factory.ts
@dmitry-shibanov @brcrista checks are passing on my branch thanks to @thc202 suggesting of using the Actions artefacts. Could you please activate the workflow and merge this? |
Hi @IvanZosimov 🙂 CC @mstoodle |
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.
LGTM!
Hi @mstoodle and @AdamBrousseau, looks like this PR is good to merge and license-wise is A-okay. Just want to get a confirmation from either of you as IBM employees (or anyone else you think more appropriate) that you support merging in this PR and Github including the Semeru distribution in setup-java. Please add a comment if you do. |
@samvantran I support merging this PR absolutely, 100%, with no reservations. |
🚀 13 months, ready for takeoff! |
The installers are still downloaded from the deprecated AdoptOpenJDK. It would be good to switch to the official source. https://github.com/actions/setup-java/pull/289/files#r979462471 |
Yes, but can we PLEASE just merge this and fix this issue in a new PR??? |
Thanks everyone for making this happen!! Woohoo!!! |
Description:
This adds the
semeru
distribution for the IBM Semeru Runtime shipping with the Eclipse OpenJ9 VM.As can be read in the Semeru Runtimes getting started guide, IBM does not yet have a public API:
This PR adds the
semeru
distribution and does exactly as stated above. It gives action/library consumers an option to future-proof their applications (by replacingadopt-openj9
). When IBM releases their official API we can use that. As stated in the getting started guide, they will be using the Eclipse Adoptium OpenAPI definition, which is compatible with current changes. Thus we only need to change the URL in the future.Implementation snoops code from the Adoptium distribution implementation.
Cc-ing/Tagging @mstoodle as you are the lead for Eclipse OpenJ9, and can maybe give a timeline on the Semeru API. Sorry if you are not the correct person.
Related issue:
Fixes #279 #239 (already closed)
Check list: