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

Multi-arch Support for Registry CI #1551

Closed
1 task
Tracked by #1608
Jdubrick opened this issue May 13, 2024 · 1 comment · Fixed by devfile/registry-support#245 or devfile/registry#414
Closed
1 task
Tracked by #1608

Multi-arch Support for Registry CI #1551

Jdubrick opened this issue May 13, 2024 · 1 comment · Fixed by devfile/registry-support#245 or devfile/registry#414
Assignees
Labels
area/ci area/registry Devfile registry for stacks and infrastructure

Comments

@Jdubrick
Copy link
Contributor

Which area is this issue related to?

/area ci
/area registry

Issue Description

As part of our CI we are using the .ci/Dockerfile from devfile registry to build an image used for testing here. This Dockerfile and its offline version, .ci/Dockerfile.offline are using amd64 dependencies as part of the build process, this results in the end image being tagged for amd64 in most cases, even when you explicitly try to build for arm64.

Our goal is to move the OpenShift CI using this image to an arm64 instance and as such will need to build and use arm64 images. The noted Dockerfiles above will need to be altered to support building for both amd64 and arm64. A possible solution is to use a tagging system for both architectures and they have separate Dockerfiles. E.g. Dockerfile.amd64, Dockerfile.arm64. The downside of this is we will need to maintain multiple Dockerfiles. An alternate solution is preferred if possible. The use of an environment variable to dynamically set the dependency like registry-operator may work.

Acceptance Criteria

  • Registry CI images can be built for either arm64 or amd64 architectures
@Jdubrick
Copy link
Contributor Author

Blocking #1552

@yangcao77 yangcao77 moved this from Refinement to Backlog in Devfile Project May 15, 2024
@Jdubrick Jdubrick self-assigned this May 22, 2024
@Jdubrick Jdubrick moved this from Backlog to To Do 📝 in Devfile Project May 28, 2024
@Jdubrick Jdubrick moved this from To Do 📝 to In Progress 🚧 in Devfile Project May 31, 2024
@Jdubrick Jdubrick moved this from In Progress 🚧 to In Review 👀 in Devfile Project Jun 3, 2024
@github-project-automation github-project-automation bot moved this from In Review 👀 to Done ✅ in Devfile Project Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci area/registry Devfile registry for stacks and infrastructure
Projects
Status: Done ✅
1 participant