Skip to content

Update multi-arch image tests#2520

Merged
estesp merged 1 commit intocontainerd:masterfrom
dmcgowan:use-pause-multiplatform-test
Aug 1, 2018
Merged

Update multi-arch image tests#2520
estesp merged 1 commit intocontainerd:masterfrom
dmcgowan:use-pause-multiplatform-test

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

@dmcgowan dmcgowan commented Aug 1, 2018

This updates the tests to be more resilient to problems with the official Docker hub images having a periodic incomplete set of architectures. The K8s pause container is a more stable choice for testing the pull of specific architectures. Continue using the busybox image for all platform pull test since the set of architectures does not need to be fixed. Update the pull test to be explicit about expecting to pull and unpack for linux/amd64.

Ensure the test pull for all platforms uses a multi-arch image
Use the pause container for testing specific platforms
Update the image unpack test to be explicit about the platform to unpack

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

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2520   +/-   ##
=======================================
  Coverage   45.07%   45.07%           
=======================================
  Files          93       93           
  Lines        9780     9780           
=======================================
  Hits         4408     4408           
  Misses       4654     4654           
  Partials      718      718
Flag Coverage Δ
#linux 49.1% <ø> (ø) ⬆️
#windows 41.58% <ø> (ø) ⬆️

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 efb04a3...438b3cb. 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 b8f4c7a into containerd:master Aug 1, 2018
@dmcgowan dmcgowan deleted the use-pause-multiplatform-test branch September 10, 2019 17:47
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