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

When a buildpack declares distro information, but a base image does not, consider it not a match #1348

Merged
merged 1 commit into from
May 1, 2024

Conversation

natalieparellano
Copy link
Member

Summary

Fixes #1337

Release notes

The lifecycle, when determining if a base image satisfies target constraints declared by a buildpack, fails if the buildpack declares distro information but the base image does not (fixes spec compliance)


Related

Resolves #1337


Context

consider it not a match

Signed-off-by: Natalie Arellano <narellano@vmware.com>
@natalieparellano natalieparellano requested a review from a team as a code owner April 29, 2024 19:06
Copy link
Contributor

@edmorley edmorley left a comment

Choose a reason for hiding this comment

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

Thank you for fixing this - looks great!

@natalieparellano natalieparellano merged commit 44b7041 into main May 1, 2024
8 checks passed
@natalieparellano natalieparellano deleted the fix/fail-missing-distro branch May 1, 2024 16:43
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.

[[targets.distros]] in buildpack.toml is ignored if the run image distro name/version isn't available
3 participants