-
Notifications
You must be signed in to change notification settings - Fork 107
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
Add history when adding buildpack or extension layers #1099
Conversation
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
…ssage Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
We need to add to the launch cache when adding layers so that the next build will be faster Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
The digest for a remote image from imgutil should match the digest for a remote image from ggcr unless the user specifically requested modifications like overriding history Signed-off-by: Natalie Arellano <narellano@vmware.com>
@natalieparellano does the history from the base image make it into the final image if present? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is super cool to see! Commented but no concern from me.
const ( | ||
BuildpackLayerName = "Layer: '%s', Created by buildpack: %s" | ||
ExtensionLayerName = "Layer: '%s', Created by extension: %s" | ||
LauncherConfigLayerName = "Buildpacks Launcher Config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be named a little more generic given the layer name?
LauncherConfigLayerName = "Buildpacks Launcher Config" | |
LauncherConfigLayerName = "Buildpacks Config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left as-is for now because https://github.com/buildpacks/rfcs/blob/main/text/0102-history.md has "launcher", but we can change it if anyone has a strong opinion
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
imgutil mutates the image (history) for newer platforms, so the SHA is different Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Fixes #411
dive
on an image built using this lifecycle:The first 3 layers are from the base image.