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

Bumps imgutil to pick up layout package refactor & local package fix … #1281

Merged
merged 3 commits into from
Feb 9, 2024

Conversation

natalieparellano
Copy link
Member

@natalieparellano natalieparellano commented Feb 5, 2024

  • local (daemon) package fix for saving images when containerd storage is enabled
  • layout package refactor (allows us to delete the selective package)

Summary

Release notes

Fixes export to docker daemon when containerd storage is enabled


Related

Resolves buildpacks/pack#1519


Context

@natalieparellano natalieparellano requested a review from a team as a code owner February 5, 2024 21:45
@@ -487,7 +487,7 @@ func testAnalyzerFunc(platformAPI string) func(t *testing.T, when spec.G, it spe
analyzer := assertAnalyzedMetadata(t, filepath.Join(copyDir, "analyzed.toml"))
h.AssertNotNil(t, analyzer.RunImage)
analyzedImagePath := filepath.Join(path.RootDir, "layout-repo", "index.docker.io", "library", "busybox", "latest")
reference := fmt.Sprintf("%s@%s", analyzedImagePath, "sha256:834f8848308af7090ed7b2270071d28411afc42078e3ba395b1b0a78e2f8b0e2")
reference := fmt.Sprintf("%s@%s", analyzedImagePath, "sha256:f75f3d1a317fc82c793d567de94fc8df2bece37acd5f2bd364a0d91a0d1f3dab")
Copy link
Member Author

Choose a reason for hiding this comment

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

The previous version of imgutil did not have buildpacks/imgutil#233 and so we mutated the media types, mutating the digest

Copy link

codecov bot commented Feb 6, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (751c7a2) 56.71% compared to head (f74130c) 64.16%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1281      +/-   ##
==========================================
+ Coverage   56.71%   64.16%   +7.46%     
==========================================
  Files          93       99       +6     
  Lines        6650     6858     +208     
==========================================
+ Hits         3771     4400     +629     
+ Misses       2531     2061     -470     
- Partials      348      397      +49     
Flag Coverage Δ
os_linux 63.63% <33.34%> (?)
os_windows 56.83% <0.00%> (+0.13%) ⬆️
unit 63.63% <33.34%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

…for containerd storage

Signed-off-by: Natalie Arellano <[email protected]>
Signed-off-by: Natalie Arellano <[email protected]>
@natalieparellano
Copy link
Member Author

IDK, I think Codecov is being too picky here

@natalieparellano natalieparellano merged commit 2f507d0 into main Feb 9, 2024
9 of 10 checks passed
@natalieparellano natalieparellano deleted the bump-imgutil branch February 9, 2024 18:26
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.

pack build fails with experimental containerd feature enabled in Docker Desktop (macos)
2 participants