Move jenkinsx docker image to multi-arch

65 views
Skip to first unread message

Bruno Verachten

unread,
Jun 15, 2022, 10:19:52 AM6/15/22
to Jenkins Developers
Hi there,

As I was experimenting with the jenkinsci/packaging process, I tried it on an aarch64 machine I have access to.
Unfortunately, the image is not multi-arch, so that didn't work.
I'd like to move it to multi-arch, but the jenkins-infra/docker-packaging depends on jenkinsx, which is not multi-arch:
docker run -it ghcr.io/jenkins-x/jx-release-version:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

The other dependency is jenkins/inbound-agent which is already multi-arch.

So before proposing a contribution to move jenkins-infra/docker-packaging to multi-arch, I will have to make a contribution to jenkinsx.
I'm not sure though that this is the correct repository to start with, can someone point me to the right one please?

Thanks in advance,
Bruno Verachten

Herve Le Meur

unread,
Jun 15, 2022, 11:07:03 AM6/15/22
to jenkin...@googlegroups.com
jx-release-version is one tool initially developed for Jenkins X, but it's independent from it.
The repo https://github.com/jenkins-x/jx you linked at the end was for the initial version of Jenkins X, which regrouped all tools in one binary.
For the following version, all tools have been decoupled from this single executable as it was difficult to maintain and make change to one part or the other of jx without impacting the others.
(At least it's what I've understood from jx history, correct me if I'm wrong)

The corresponding repository for jx-release-version is this one: https://github.com/jenkins-x-plugins/jx-release-version/releases
Could you try the arm version of the binary released there?

Hervé

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/5e0acf7a-bb23-4c64-8b56-b78bcd58bde7n%40googlegroups.com.

Bruno Verachten

unread,
Jun 15, 2022, 11:47:12 AM6/15/22
to jenkin...@googlegroups.com
Thank you so much for this detailed information, Hervé.
I tried the binary on my aarch64 machine for the jenkins packaging repo, and it gave me 2.176.2.
So it looks like it's working on aarch64.

Bruno
Reply all
Reply to author
Forward
0 new messages