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

Update Parse to return a Platform spec #2165

Merged
merged 1 commit into from Feb 27, 2018

Conversation

jessvalarezo
Copy link
Contributor

@jessvalarezo jessvalarezo commented Feb 27, 2018

This PR is the first step in a solution for #2029, handling multi-arch images.

Here the Parse function now returns a Platform spec, which allows us to decouple the matcher.

Signed-off-by: Jess Valarezo valarezo.jessica@gmail.com

Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
@codecov-io
Copy link

Codecov Report

Merging #2165 into master will increase coverage by 0.05%.
The diff coverage is 78.57%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2165      +/-   ##
==========================================
+ Coverage   41.09%   41.15%   +0.05%     
==========================================
  Files          66       66              
  Lines        7541     7543       +2     
==========================================
+ Hits         3099     3104       +5     
+ Misses       3961     3959       -2     
+ Partials      481      480       -1
Flag Coverage Δ
#windows 41.15% <78.57%> (+0.05%) ⬆️
Impacted Files Coverage Δ
platforms/platforms.go 85% <78.57%> (+0.38%) ⬆️
gc/scheduler/scheduler.go 68.44% <0%> (+1.45%) ⬆️

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 fd2e1f6...ac80084. Read the comment docs.

Copy link
Contributor

@dnephin dnephin left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
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

@stevvooe
Copy link
Member

LGTM

@stevvooe stevvooe merged commit f334749 into containerd:master Feb 27, 2018
@jessvalarezo jessvalarezo deleted the platforms-parse branch February 27, 2018 23:44
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.

None yet

5 participants