Skip to content

Support for multi-arch image unpacking#1506

Merged
crosbymichael merged 1 commit intocontainerd:masterfrom
dmcgowan:unpack-manifest-list
Sep 14, 2017
Merged

Support for multi-arch image unpacking#1506
crosbymichael merged 1 commit intocontainerd:masterfrom
dmcgowan:unpack-manifest-list

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

Resolves the platform on multi-arch manifests during unpack and config resolving.

@Random-Liu
Copy link
Copy Markdown
Member

@dmcgowan Thanks~~~~

@mikebrow
Copy link
Copy Markdown
Member

mikebrow commented Sep 14, 2017

@dmcgowan I've pulled this PR down and confirmed that it will fix our CRI-Containerd CI test buckets.

Just a couple lines of code to spec_opts_windows.go to get past the windows build break and good to go!

@crosbymichael
Copy link
Copy Markdown
Member

@dmcgowan there is a windows build failure

Comment thread image.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: Can we get something more explicit than ps? It usually makes me think of the ps command and hence processes

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

platformSpecifier would be more explicit, maybe platform or psp ...

@dmcgowan dmcgowan force-pushed the unpack-manifest-list branch from f0581bd to bc0c368 Compare September 14, 2017 16:18
@codecov-io
Copy link
Copy Markdown

codecov-io commented Sep 14, 2017

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1506   +/-   ##
=======================================
  Coverage   40.82%   40.82%           
=======================================
  Files          23       23           
  Lines        2920     2920           
=======================================
  Hits         1192     1192           
  Misses       1451     1451           
  Partials      277      277

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 cc75a11...46ded63. 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; similar nit to @mlaventure about more descriptive variable

Resolves the platform on multi-arch manifests during unpack and config resolving.

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

@estesp @mlaventure he changed ps to platform, and fixed the windows build. Looks good to me.

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

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.

7 participants