-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
feat(Linux): switch supported architectures to GA Temurin jdk21 images #521
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.
Maybe we should wait, then, until they become available.
I can rework my PR to keep linux-arm32 and linux-ppc64le as jdk21-preview images, WDYT? EDIT: done. |
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.
use a multi-arch image to retrieve the jdk please instead of fetching it via wget like we do in all other images
I was looking at an old diff
"${REGISTRY}/${JENKINS_REPO}:latest-bookworm-jdk21", | ||
"${REGISTRY}/${JENKINS_REPO}:latest-jdk21", | ||
] | ||
platforms = ["linux/amd64", "linux/arm64"] |
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.
I would probably just wait a couple of days they probably won't take long to produce the other platforms?
There aren't any binaries for these architectures in recent releases (https://github.com/adoptium/temurin21-binaries/releases). To keep preview images for these specific architecture without blocking the major ones, I propose to use the (fixed) last release where they're available in docker-agent/debian/21/Dockerfile Lines 8 to 19 in f8e2ca6
WDYT? |
We can also wait a few days. |
I would prefer to just wait a few days they should come out soon |
Thank you. ⛔ means there is no build planned for that version/platform combination. 🤔 There is an explanation in a Temurin repo where they describe the different classes of platforms they support. Quote from Temurin, a few minutes ago:
|
Thanks for the link, quite useful!
Yes, I'll keep this PR as draft until
Unrelated to this PR concerning Linux images. We're already publishing amd64 Windows images (see https://hub.docker.com/r/jenkins/agent/tags?page=1&name=21), which AFAIU are the same architecture.
I've removed |
adoptium/temurin#8 has been closed, and the October release status doesn't look good for the architectures we were waiting for: adoptium/temurin#6 With these new elements at hand, are you OK if I restore a similar workaround as the one deployed in jenkinsci/docker#1738 to keep the preview tags/images like in 2eae836? |
I think that the workaround is a very reasonable compromise. |
+1 with the workaround! Will be double justified as there is a ne EA release for |
Yes, |
I'll prepare the workaround, then as follow-up of this PR I'll prepare another one for updatecli manifests managing both type of versions like jenkinsci/docker#1741 |
…able in eclipse-temurin images
…s particular version release URL
Included back the workaround, and also incorporated the same kind of preview (EA) release download URL fix as jenkinsci/docker#1747 PR ready for review, to be squashed. |
Updatecli manifests update addressed in #536 |
This PR switch supported architectures (x86 & arm64) to the GA jdk21 Temurin Linux images.
It keeps jdk21-preview images for unsupported architectures (ppc64le, arm32 and s390x).
It also include a fix for the preview (EA) release download URL.
Follow-up of #518
Depending on #520 decision about archlinux, I could add an archlinux-jdk21 image too.removed from that PR.Testing done
https://ci.jenkins.io/job/Packaging/job/docker-agent/job/PR-521/32/
Submitter checklist