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

Update devfile registry to support arm64 architecture #1366

Closed
Jdubrick opened this issue Nov 30, 2023 · 0 comments · Fixed by devfile/registry#306
Closed

Update devfile registry to support arm64 architecture #1366

Jdubrick opened this issue Nov 30, 2023 · 0 comments · Fixed by devfile/registry#306
Labels
area/registry Devfile registry for stacks and infrastructure

Comments

@Jdubrick
Copy link
Contributor

Which area/kind this issue is related to?

/area registry

Issue Description

This issue is to alter scripts in the devfile registry repo to accommodate changes made to the registry-viewer from #1356. To solve the mentioned issue an environment variable was implemented to allow the user to change the architecture the container image was built for.

In order to fix this issue we have to edit the .ci/build_and_deploy.sh script that clones devfile-web and make sure the environment variable required by the devfile-web scripts is set if the user wants to use a different architecture.

Steps Required:

  1. Review https://github.com/devfile/devfile-web/blob/main/CONTRIBUTING.md#Troubleshooting and https://github.com/devfile/devfile-web/blob/main/scripts/build_viewer.sh to familiarize yourself with the PLATFORM_EV variable that needs to be set
  2. Edit https://github.com/devfile/registry/blob/main/.ci/build_and_deploy.sh to support the PLATFORM_EV variable being set and exported into the directory where devfile-web is being cloned
  3. Update documentation to reflect the use of PLATFORM_EV for users who do not want to use the default linux/amd64 architecture (primarily M1/M2/M3 mac users)
@openshift-ci openshift-ci bot added the area/registry Devfile registry for stacks and infrastructure label Nov 30, 2023
@michael-valdron michael-valdron moved this to Refinement in Devfile Project Dec 21, 2023
@github-project-automation github-project-automation bot moved this from Refinement to Done ✅ in Devfile Project Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/registry Devfile registry for stacks and infrastructure
Projects
Status: Done ✅
Development

Successfully merging a pull request may close this issue.

1 participant