Skip to content

Update client Image to have configurable platform#2468

Merged
estesp merged 1 commit intocontainerd:masterfrom
dmcgowan:set-platform-on-unpack
Jul 31, 2018
Merged

Update client Image to have configurable platform#2468
estesp merged 1 commit intocontainerd:masterfrom
dmcgowan:set-platform-on-unpack

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

Separate Fetch and Pull commands in client to distinguish between platform specific and non-platform specific operations.
ctr images pull with all platforms will now unpack all platforms.
ctr content fetch now supports platform flags.

This enables using the client to unpack on a specified platform which is useful for cross compilation in buildkit or using the client to drive a container/filesystem on a different platform.

@crosbymichael
Copy link
Copy Markdown
Member

Need to rebase on master

@dmcgowan dmcgowan force-pushed the set-platform-on-unpack branch from 9c6ff97 to 2a5f476 Compare July 17, 2018 18:14
Separate Fetch and Pull commands in client to distinguish
between platform specific and non-platform specific operations.
`ctr images pull` with all platforms will now unpack all platforms.
`ctr content fetch` now supports platform flags.

Signed-off-by: Derek McGowan <[email protected]>
@dmcgowan dmcgowan force-pushed the set-platform-on-unpack branch from 2a5f476 to 3a916a0 Compare July 17, 2018 22:43
@codecov-io
Copy link
Copy Markdown

codecov-io commented Jul 17, 2018

Codecov Report

Merging #2468 into master will increase coverage by 3.7%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #2468     +/-   ##
=========================================
+ Coverage   41.33%   45.03%   +3.7%     
=========================================
  Files          66       92     +26     
  Lines        7869     9425   +1556     
=========================================
+ Hits         3253     4245    +992     
- Misses       4108     4497    +389     
- Partials      508      683    +175
Flag Coverage Δ
#linux 49.28% <ø> (?)
#windows 41.33% <ø> (ø) ⬆️
Impacted Files Coverage Δ
mount/temp_unix.go 0% <0%> (ø)
mount/temp.go 14.28% <0%> (ø)
sys/filesys_unix.go 0% <0%> (ø)
sys/reaper.go 0% <0%> (ø)
content/local/store_unix.go 75% <0%> (ø)
mount/lookup_unix.go 0% <0%> (ø)
cio/io_unix.go 74.71% <0%> (ø)
archive/tar_unix.go 54.54% <0%> (ø)
services/server/server_linux.go 0% <0%> (ø)
snapshots/btrfs/btrfs.go 57.39% <0%> (ø)
... and 23 more

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 dfde5ec...3a916a0. Read the comment docs.

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

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

@estesp estesp merged commit ed0e734 into containerd:master Jul 31, 2018
@dmcgowan dmcgowan deleted the set-platform-on-unpack branch September 10, 2019 17:45
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