Skip to content

playbooks, test/system: Avoid downloading the images multiple times - #704

Merged
debarshiray merged 1 commit into
containers:masterfrom
debarshiray:wip/rishi/tests-skopeo
Feb 19, 2021
Merged

debarshiray merged 1 commit into
containers:masterfrom
debarshiray:wip/rishi/tests-skopeo

Conversation

@debarshiray

Copy link
Copy Markdown
Member

Since commit b27795a, each section of the test suite starts
and ends with a clean Podman state. This includes removing all images
from the local containers storage. Therefore, the images get downloaded
multiple times during the course of the test suite.

This commit restores the earlier behaviour where the images would get
downloaded only once, by copying them to separate directories outside
the local containers storage and then restoring them when the tests
are run.

#517

debarshiray pushed a commit to debarshiray/toolbox that referenced this pull request Feb 19, 2021
Since commit b27795a, each section of the test suite starts
and ends with a clean Podman state. This includes removing all images
from the local containers storage. Therefore, the images get downloaded
multiple times during the course of the test suite.

This commit restores the earlier behaviour where the images would get
downloaded only once, by copying them to separate directories outside
the local containers storage and then restoring them when the tests
are run.

containers#517
containers#704
@debarshiray
debarshiray force-pushed the wip/rishi/tests-skopeo branch from ce92982 to b4b92f7 Compare February 19, 2021 19:04
debarshiray pushed a commit to debarshiray/toolbox that referenced this pull request Feb 19, 2021
Since commit b27795a, each section of the test suite starts
and ends with a clean Podman state. This includes removing all images
from the local containers storage. Therefore, the images get downloaded
multiple times during the course of the test suite.

This commit restores the earlier behaviour where the images would get
downloaded only once, by copying them to separate directories outside
the local containers storage and then restoring them when the tests
are run.

containers#517
containers#704
@debarshiray
debarshiray force-pushed the wip/rishi/tests-skopeo branch from b4b92f7 to a59ef73 Compare February 19, 2021 19:13
Since commit b27795a, each section of the test suite starts
and ends with a clean Podman state. This includes removing all images
from the local containers storage. Therefore, the images get downloaded
multiple times during the course of the test suite.

This commit restores the earlier behaviour where the images would get
downloaded only once, by copying them to separate directories outside
the local containers storage and then restoring them when the tests
are run.

containers#517
containers#704
@debarshiray
debarshiray force-pushed the wip/rishi/tests-skopeo branch from a59ef73 to 7973181 Compare February 19, 2021 19:18
@debarshiray
debarshiray merged commit 7973181 into containers:master Feb 19, 2021
@debarshiray
debarshiray deleted the wip/rishi/tests-skopeo branch February 19, 2021 19:26
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.

2 participants