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
Using TCK tested OpenJDK builds of the latest LTS and fixed (major) version releases in GH Actions. #1868
Conversation
Signed-off-by: Carl Dea <carldea@gmail.com>
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.
Let us only keep the build for 11 latest and 11.0.3 for the time being.
And also change the circleci image if necessary.
…ed 17 & 18-ea releases. Signed-off-by: Carl Dea <carldea@gmail.com>
I made the changes (removed 17 & 18-ea).
Question: Is there an image using the jre instead of the jdk? (or does it matter?). |
Kudos, SonarCloud Quality Gate passed! |
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.
Let us only keep the build for 11 latest and 11.0.3 for the time being.
I made the changes (removed 17 & 18-ea).
And also change the circleci image if necessary.
Question: Is there an image using the JRE instead of the JDK? (or does it matter?). I didn't change anything.
No, we need the JDK, but do we really need it?
Please check and report what JDK the CircleCI image is using.
I am not really familiar with CircleCI. I believe you are referring to the file below: Docker Image UsedI did notice the config yaml file specified with the docker image: CircleCI and DocsBased on further research over at DockerHub and according to CircleCI they are using AdoptOpenJDK? I'm not sure if CircleCi may need to update their docs and/or images to support other distros (contained within their images). The AdoptOpenJDK build has been discontinued and aren't the same builds (binaries) as the Oracle's OpenJDK builds over on Docker Hub. I'm assuming CircleCi images are a fast and convenient way to get containers with a JDK and NodeJS. Azul Zulu Docker imagesI'm not sure about CircleCi images extending NodeJS (layer), but below are the official Zulu build images that are available: |
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! 🎉
Thank you @carldea for the clarification!
@all-contributors please add @carldea for code |
I've put up a pull request to add @carldea! 🎉 |
Thank you! |
…1868) * Using the latest LTS and fixed (major) versions of the OpenJDK. Signed-off-by: Carl Dea <carldea@gmail.com> * Using the latest LTS and fixed (major) versions of the OpenJDK. Removed 17 & 18-ea releases. Signed-off-by: Carl Dea <carldea@gmail.com> Co-authored-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>
Signed-off-by: Carl Dea carldea@gmail.com
Using the latest LTS and fixed (major) versions of the OpenJDK.
The AdoptOpenJDK has been discontinued since July 2021 (https://adoptopenjdk.net). This request is to switch the distribution from
adopt
to Azulzulu
. When using Zulu you get all the latest updated (TCK Tested) builds for all versions of OpenJDK (even archived fixed versions and early access releases).In the workflow (GH Action) I added a fixed (major) release version such as
JDK 11.0.3
. This is often a good practice whenever a build triggers to help determine if the latest (JDK 11
) had failed and why. Usually you're trying to figure out what happened wheter it's from the latest build vs something in your code that caused (or introduced) the issue.For example, when building with
JDK 11.0.3
(fixed version) the build/tests passes (Green) and JDK 11 fails (Red) will mean that the latestJDK 11
was the cause and not your code. Some customers/vendors typically haveJDK 11.0.3
and aren't ready to move to the latest.Note: Other distributions such as Temurin do not support archived fixed releases prior to Sept. 2021 and many of the non-LTS (long term support) releases (ie: 18-ea). This is often the case when/if you are planning to try out newer features in the Java language.
The following are benefits:
Updating 2 Github Actions (workflows)
The following is an excerpt of the changes in the workflow
maven-pr-builder.yml
Sonar issue.
One minor issue in my fork, is when using my
SONAR_TOKEN
I'm not authorized, so my workflows (fork) fails.Thank you,
:-)
Carl