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

Fix UnsetEnv for buildah bud #3638

Merged
merged 1 commit into from
Nov 19, 2021
Merged

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Nov 18, 2021

Signed-off-by: Daniel J Walsh [email protected]

What type of PR is this?

/kind api-change
/kind bug
/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake
/kind other

What this PR does / why we need it:

How to verify it

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?


@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 18, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rhatdan

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

@flouthoc
Copy link
Collaborator

LGTM. @rhatdan could you rebase. I clicked on github UI rebase and its adding another commit to the PR.

@flouthoc
Copy link
Collaborator

This is not a blocker.
One doubt which i have is that its only modifying oci spec but not the actual image. But I'll check previous original PR to confirm.

@nalind PTAL

@flouthoc flouthoc requested a review from nalind November 19, 2021 10:55
@rhatdan
Copy link
Member Author

rhatdan commented Nov 19, 2021

@nalind @giuseppe @vrothberg PTAL

tests/bud.bats Outdated Show resolved Hide resolved
@nalind
Copy link
Member

nalind commented Nov 19, 2021

Can we add a check that ensures two builds with --layers, one with a --unsetenv and one without, produce different images, i.e., that one doesn't get mistakenly used as the cached result of the other?

Signed-off-by: Daniel J Walsh <[email protected]>
@nalind
Copy link
Member

nalind commented Nov 19, 2021

/lgtm

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

Successfully merging this pull request may close these issues.

4 participants