Skip to content
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

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

Closed
2 tasks done
Tracked by #1492
Jdubrick opened this issue Apr 29, 2024 · 2 comments
Closed
2 tasks done
Tracked by #1492
Assignees
Labels

Comments

@Jdubrick
Copy link
Contributor

Jdubrick commented Apr 29, 2024

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:

  • OCI Registry
    • Builds cleanly
  • Devfile Index
    • Current golang builder image does not support arm64
    • Newer SHAs for 1.19 alpine image provide this support
  • Registry Viewer
    • Requires env variable for linux/arm64 to build for arm64
  • Registry Operator
    • Builds cleanly
  • Devfile Integration Tests
    • Docker used for running the tests appears to download x86 binaries during build, this forces it to be amd64

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
Copy link
Contributor Author

See #1492 (comment) for created issues from investigation.

@Jdubrick
Copy link
Contributor Author

Sizing 3 points retrospectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done ✅
Development

No branches or pull requests

1 participant