Skip to content

Update manifest resolution for non-index manifests#2684

Merged
crosbymichael merged 1 commit intocontainerd:masterfrom
dmcgowan:manifest-resolution
Sep 27, 2018
Merged

Update manifest resolution for non-index manifests#2684
crosbymichael merged 1 commit intocontainerd:masterfrom
dmcgowan:manifest-resolution

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

Avoid filtering manifests by platform when a non-index manifest is provided to the Manifest function.

This came up as an issue on ARM machines that rely on images marked as amd64 but with no platform-specific functionality. I am open to suggestions for better ways to support this. The only other options I could think of would be a confusing flag or throwing a more helpful error which the client would need to interpret and retry without platform.

Avoid filtering manifests by platform when a non-index
manifest is provided to the Manifest function.

Signed-off-by: Derek McGowan <[email protected]>
@codecov-io
Copy link
Copy Markdown

codecov-io commented Sep 26, 2018

Codecov Report

Merging #2684 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2684   +/-   ##
======================================
  Coverage      45%     45%           
======================================
  Files          92      92           
  Lines       10114   10114           
======================================
  Hits         4552    4552           
  Misses       4842    4842           
  Partials      720     720
Flag Coverage Δ
#linux 48.72% <ø> (-0.03%) ⬇️
#windows 41.76% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b1d56e...ef8498b. Read the comment docs.

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM; seems reasonable until there is some future way to truly control image config platform details (cross-building has never been supported in docker build semantics.. you always get the build system os/arch in the image config)

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

@crosbymichael crosbymichael merged commit 75d7d6e into containerd:master Sep 27, 2018
@dmcgowan dmcgowan deleted the manifest-resolution branch September 10, 2019 17: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.

4 participants