devfile / api

Kube-native API for cloud development workspaces specification
Apache License 2.0
235 stars 58 forks source link

[Spike] Investigate CI Workloads And Images That Can Be Migrated To Arm64 / Multi-Arch #1537

Closed Jdubrick closed 5 days ago

Jdubrick commented 2 weeks ago

Which area/kind this issue is related to?

/area ci

Issue Description

The goal of this issue is to determine which of our Openshift CI Workloads are compatible with Arm64 and which are not. Additionally, it would be worthwhile to ensure our image builds can support multiple architectures moving forward. The goal is to migrate some or all of these workloads to Arm64 architecture. Dockerfiles will need to be investigated to ensure that they can be used to build both linux/amd64 and linux/arm64 images.

Currently the following repositories and nightly runs have jobs running on Openshift CI:

  1. devfile/registry
  2. devfile/registry-operator
  3. devfile/integration tests, ODC, OCP 4.10-4.12
  4. devfile/integration tests, odo, OCP 4.10-4.12

In addition to the above repositories, the following investigation has been done prior to this issue:

It would also be worthwhile to look into the remaining devfile repositories, such as registry-support to see if there are any jobs that would benefit from having multi-arch support as well.

Podman appears to have something similar to Docker's buildx that can be referenced here: https://developers.redhat.com/articles/2023/11/03/how-build-multi-architecture-container-images#

Acceptance Criteria

Jdubrick commented 5 days ago

See https://github.com/devfile/api/issues/1492#issuecomment-2108772391 for created issues from investigation.

Jdubrick commented 5 days ago

Sizing 3 points retrospectively.