You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In reviewing the work that has been done already for the next set of APIs, some gaps were identified between the desired implementation and the actual implementation. Probably more gaps will be identified in working through the pack implementation. This issue is meant to be a catch-all issue but each gap is likely small and could be considered a "good first issue".
TODO:
More sophisticated error checking when we fail to get a layer from a sparse image (see FIXME in exporter.go)
Write both stack and runImage in the metadata label for backwards compat
Extensions should expose target data & the lifecycle should validate it (just like buildpacks)
analyzer prints out Ignoring image "previous-image-name" because it was corrupt when the previous image is just missing
Add history when adding buildpack or extension layers #1099 - Right now there's no good way to map extension layers back to the extension that created them (for buildpacks we have io.buildpacks.lifecycle.metadata with key buildpacks). Keeping track of the extension <-> layer SHA mapping is possible, but might require the introduction of a new extended.toml (or something) file
Done:
Detector: if the run image based is switched by an image extension we should verify that the new base exists in run.toml (need to verify that run.toml path is an input to the detector, and if not, update the spec PR) (we made this a warning instead)
Support for OCI layout (there were some issues using imgutil's sparse package, shouldn't be a huge change but needs time to work through) (making a separate issue for this)
The text was updated successfully, but these errors were encountered:
Should extensions expose and/or the lifecycle validate target data for extensions?
It seems to me like something is warranted here -- e.g. if i'm writing an extension that uses a package manager like apt, yum, apk, nix, etc., then I would want that extension to only run on the appropriate distribution of linux and I might even be interested in writing several extensions in order to support multiple distributions or package managers. But maybe that's a rare use-case?
In reviewing the work that has been done already for the next set of APIs, some gaps were identified between the desired implementation and the actual implementation. Probably more gaps will be identified in working through the pack implementation. This issue is meant to be a catch-all issue but each gap is likely small and could be considered a "good first issue".
TODO:
stack
andrunImage
in the metadata label for backwards compatanalyzer
prints outIgnoring image "previous-image-name" because it was corrupt
when the previous image is just missingIn flight:
io.buildpacks.lifecycle.metadata
with keybuildpacks
). Keeping track of the extension <-> layer SHA mapping is possible, but might require the introduction of a new extended.toml (or something) fileDone:
Detector: if the run image based is switched by an image extension we should verify that the new base exists in run.toml (need to verify that run.toml path is an input to the detector, and if not, update the spec PR)(we made this a warning instead)Support for OCI layout (there were some issues using imgutil's sparse package, shouldn't be a huge change but needs time to work through)(making a separate issue for this)The text was updated successfully, but these errors were encountered: