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

Improve e2e tests #42

Merged
merged 4 commits into from
Dec 17, 2024
Merged

Improve e2e tests #42

merged 4 commits into from
Dec 17, 2024

Conversation

mike-sul
Copy link
Collaborator

No description provided.

Remove an image from a local docker store just after its been uploaded
to a registry. It makes the initial test environment clean,
so there are no any images in a local docker store before the tests
start running.

Signed-off-by: Mike Sul <[email protected]>
Pull app images before publishing app, so the publish procedure can
gather info about each app image layers. Also, removes the pulled images
after app been published, so the following tests emulate a device
environment in which app images are not pre-pulled.

Signed-off-by: Mike Sul <[email protected]>
Add a new flag to enable/disable app images pruning in the docker store
just after removing an app installation from the compose/project
directory.

By default the flag is set to false (no pruning). If set to true, then
app images that are not used by any containers (regardless of a
container state) are removed from the docker store.

Signed-off-by: Mike Sul <[email protected]>
@mike-sul mike-sul requested a review from detsch December 17, 2024 09:48
@mike-sul mike-sul merged commit 91443c5 into main Dec 17, 2024
1 check passed
@mike-sul mike-sul deleted the improve-e2e-tests branch December 17, 2024 13:49
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