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

[RHOAIENG-7484] - make container builder configurable for odh-control… #207

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

spolti
Copy link
Member

@spolti spolti commented May 20, 2024

…ler operator

chore: Allow to set the engine for the make container build and push goals

Description

How Has This Been Tested?

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

Makefile Outdated
# Default for docker, no value
ARCH_PARAMETER =
ifeq ($(ENGINE),podman)
ARCH_PARAMETER = --arch $(ARCH)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would --platform work? Such arg seems to be supported both by docker and podman, so we no longer would need conditionals.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

work if you enforce os to linux as well.
--arch does it automatically.

--platform

Error: creating build container: choosing an image from manifest list docker://registry.access.redhat.com/ubi8/go-toolset:1.19: no image found in manifest list for architecture amd64, variant "", OS darwin

Makefile Outdated Show resolved Hide resolved
…ler operator

chore:	Allow to set the engine for the make container build and push goals

Signed-off-by: Spolti <[email protected]>
Copy link
Contributor

@israel-hdez israel-hdez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Contributor

openshift-ci bot commented Jun 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: israel-hdez, spolti

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

The pull request process is described 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

@openshift-merge-bot openshift-merge-bot bot merged commit ead3013 into opendatahub-io:main Jun 5, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants