Remove s390x/ppc64le arches in che container builds #21969
Labels
area/ci/multi-arch
Issues and PRs related to the release of images targeting architectures other than amd64
kind/epic
A long-lived, PM-driven feature request. Must include a checklist of items that must be completed.
kind/task
Internal things, technical debt, and to-do tasks to be performed.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
severity/P2
Has a minor but important impact to the usage or development of the system.
Is your task related to a problem? Please describe
Today, we have builds that use
docker buildx
to create containers for the following arches:We also have other builds that are simple single arch:
And we have chectl, which is built for many arches, including Mac and Windows:
Questions
Why are we building some components of Che for multiple arches? Is there a compelling reason to have a dashboard and server/factory, without the ability to launch a workspace running che-code?
Can you even install the Che operator without a compatible DevWorkspace operator for your arch? (I would be surprised if this is possible.)
Could we simplify the Che build infrastructure to use
podman build
ordocker build
instead ofdocker buildx
, and focus on the single end to end deployment of Che on amd64?For those worried that this means they can't use Windows to Mac to connect to their cluster, don't worry - I'm not suggesting we drop support of darwin or win32 arches.
I'm suggesting we drop container builds for arm64, s390x, and ppc64le, since there is no way to use those containers for a COMPLETE Che 7.60+ deployment with a vscode-based workspace.
Describe the proposed solution:
Plan after discussions with @l0rd:
remove ppc64le and s390x
keep arm64; add more arm64 builds for the containers that are only single-arch x64 today - see Add support for arm64 arch in che container builds #22007 and Set set provenance:false in workflows with docker/build-push-action (remove 0.9.1 pin in use docker/setup-buildx-action) #21954
Describe alternatives you've considered
Given we have tried to build Che components with Z and P without success (both using GH actions and Travis), those arches should definitely be dropped, as they are available downstream in Red Hat OpenShift Dev Spaces but the upstream images are not usable.
Support for arm64 could be explored if there's a need, but given today we only have arm images for dashboard, machine-exec, and configbump, that would be a long road to travel without a compelling reason to do so.
Additional context
Question also sent to https://www.eclipse.org/lists/che-dev/msg04456.html for consideration.
See also:
The text was updated successfully, but these errors were encountered: