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

Ensure instructions to build work on arm and amd #173

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

weshayutin
Copy link
Contributor

w/o using dockerx builds the normal docker-build, docker-push failed to work properly as the setup documentation stated on ARM
clusters. This change simply makes the build work more like
oadp-operator.

Why the changes were made

building w/ ARM failed when using
https://github.com/migtools/oadp-non-admin/blob/master/docs/CONTRIBUTING.md

How to test the changes made

Tested w/ both ARM and AMD clusters. :) works

w/o using dockerx builds the normal docker-build, docker-push
failed to work properly as the setup documentation stated on ARM
clusters.   This change simply makes the build work more like
oadp-operator.
Copy link

openshift-ci bot commented Feb 7, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: weshayutin
Once this PR has been reviewed and has the lgtm label, please assign shawn-hurley for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Makefile Outdated Show resolved Hide resolved
@kaovilai
Copy link
Member

kaovilai commented Feb 7, 2025

Thoughts on just making multi platform images always? This controller image should be small enough that its going to create productivity not having to ask someone to rebuild for their arch for less than a minute of additional build time.

@weshayutin
Copy link
Contributor Author

Thoughts on just making multi platform images always? This controller image should be small enough that its going to create productivity not having to ask someone to rebuild for their arch for less than a minute of additional build time.

That is a valid point and one side of the issue. If I recall correctly folks involved in this project perfered to build quickly vs build all arch types ( it was annoying ).

We def do not need to build for ppc or s390.

IIUC, we are building oadp-operator based on the arch of the cluster. Seems like the right pattern to follow here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants