Skip to content

platforms: update known OS and arch values#3624

Merged
dmcgowan merged 1 commit intocontainerd:masterfrom
tklauser:platforms-update
Sep 5, 2019
Merged

platforms: update known OS and arch values#3624
dmcgowan merged 1 commit intocontainerd:masterfrom
tklauser:platforms-update

Conversation

@tklauser
Copy link
Copy Markdown
Contributor

@tklauser tklauser commented Sep 5, 2019

Update the lists in isKnownOS and isKnownOS according to goosList and
goarchList taken from Go 1.13, see
https://github.com/golang/go/blob/release-branch.go1.13/src/go/build/syslist.go

Signed-off-by: Tobias Klauser [email protected]

Update the lists in isKnownOS and isKnownOS according to goosList and
goarchList taken from Go 1.13, see
https://github.com/golang/go/blob/release-branch.go1.13/src/go/build/syslist.go

Signed-off-by: Tobias Klauser <[email protected]>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 5, 2019

Build succeeded.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #3624 into master will decrease coverage by 3.52%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3624      +/-   ##
==========================================
- Coverage   45.96%   42.43%   -3.53%     
==========================================
  Files         114      127      +13     
  Lines       11242    14032    +2790     
==========================================
+ Hits         5167     5955     +788     
- Misses       5176     7177    +2001     
- Partials      899      900       +1
Flag Coverage Δ
#linux 45.96% <100%> (ø) ⬆️
#windows 37.32% <100%> (?)
Impacted Files Coverage Δ
platforms/database.go 81.48% <100%> (-1.22%) ⬇️
archive/tar_opts.go 58.82% <0%> (-12.61%) ⬇️
snapshots/native/native.go 43.04% <0%> (-9.99%) ⬇️
metadata/snapshot.go 47.9% <0%> (-8.6%) ⬇️
cio/io.go 46.47% <0%> (-8.53%) ⬇️
archive/tar.go 48.18% <0%> (-8.51%) ⬇️
metadata/containers.go 47.97% <0%> (-6.62%) ⬇️
content/local/writer.go 58.65% <0%> (-5.55%) ⬇️
content/local/store.go 49.52% <0%> (-5.29%) ⬇️
metadata/images.go 57.57% <0%> (-4.99%) ⬇️
... and 73 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 59a625d...c8cb864. 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

@fuweid
Copy link
Copy Markdown
Member

fuweid commented Sep 5, 2019

do we need to wait for upgrading golang pr #3620 ?

@dmcgowan
Copy link
Copy Markdown
Member

dmcgowan commented Sep 5, 2019

LGTM

@fuweid these functions are just used to determine whether a single valued input is an OS or architecture. Generally single value inputs are discouraged and any of these values would already be supported when explicitly give as os/arch, we don't need to wait for the Go version which supports them.

@dmcgowan dmcgowan merged commit 672b86a into containerd:master Sep 5, 2019
@dmcgowan dmcgowan added this to the 1.3 milestone Sep 5, 2019
@tklauser tklauser deleted the platforms-update branch September 6, 2019 06:16
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.

5 participants