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

imagebuildah: make scratch config handling toggleable #5690

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

nalind
Copy link
Member

@nalind nalind commented Aug 15, 2024

What type of PR is this?

/kind api-change

What this PR does / why we need it:

The default configuration that docker build applies to images built using "scratch" has changed from classic builds to BuildKit. Add a toggle for selecting which behavior to mimic.

How to verify it

Updated conformance test cases!

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

@openshift-ci openshift-ci bot added kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API approved labels Aug 15, 2024
@rhatdan
Copy link
Member

rhatdan commented Aug 16, 2024

LGTM

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 17, 2024
@nalind nalind force-pushed the compat-scratch-config branch from 9a0adb4 to 9d5bba0 Compare August 19, 2024 13:11
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 19, 2024
Copy link
Collaborator

@flouthoc flouthoc 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 Aug 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc, nalind

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

@nalind nalind force-pushed the compat-scratch-config branch from 9d5bba0 to 1002251 Compare August 21, 2024 15:49
@nalind
Copy link
Member Author

nalind commented Aug 21, 2024

Pretty sure this will fix the conformance test failures in #5688.

@nalind nalind force-pushed the compat-scratch-config branch 3 times, most recently from 2f874a4 to a060efd Compare August 22, 2024 20:45
@TomSweeneyRedHat
Copy link
Member

LGTM
but the branch needs to be updated

@nalind nalind force-pushed the compat-scratch-config branch from a060efd to 8613dcd Compare August 28, 2024 13:17
The default configuration that `docker build` applies to images built
using "scratch" has changed from classic builds to BuildKit.  Add a
toggle for selecting which behavior to mimic.

Signed-off-by: Nalin Dahyabhai <[email protected]>
@nalind nalind force-pushed the compat-scratch-config branch from 8613dcd to f88579d Compare August 28, 2024 14:21
@nalind
Copy link
Member Author

nalind commented Aug 28, 2024

Rebased.

@rhatdan
Copy link
Member

rhatdan commented Aug 28, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Aug 28, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 6925972 into containers:main Aug 28, 2024
39 checks passed
@nalind nalind deleted the compat-scratch-config branch August 28, 2024 18:42
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Nov 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API lgtm locked - please file new issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants