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

Remove --platform from start-builder target #1922

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

Molter73
Copy link
Collaborator

@Molter73 Molter73 commented Oct 31, 2024

Description

Podman has a bug in it which makes it so when using the --platform argument, it will ignore existing images in cache and always attempt to pull. This is particularly annoying when trying to test a change to the builder image, since running the start-builder target will:

  • Build the image from source.
  • Pull the image from quay.
  • Run the image without the local modifications.

Removing the argument fixes the issue and it should have no major impact on developer workflow, since it is meant to be used locally anyways.

See: containers/podman#24420

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

  • Tested manually a new image is not pulled without the argument.

Podman has a bug in it which makes it so when using the --platform
argument, it will ignore existing images in cache and always attempt to
pull. This is particularly annoying when trying to test a change to the
builder image, since running the start-builder target will:
- Build the image from source.
- Pull the image from quay.
- Run the image without the local modifications.

Removing the argument fixes the issue and it should have no major impact
on developer workflow, since it is meant to be used locally anyways.
@Molter73 Molter73 requested a review from a team as a code owner October 31, 2024 10:58
@Molter73 Molter73 merged commit 584fd92 into master Oct 31, 2024
67 of 69 checks passed
@Molter73 Molter73 deleted the mauro/prevent-builder-pull branch October 31, 2024 14:53
Molter73 added a commit that referenced this pull request Oct 31, 2024
Stringy pushed a commit that referenced this pull request Nov 1, 2024
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.

2 participants