prune: move image pruning before build cache pruning#1527
Merged
thaJeztah merged 1 commit intodocker:masterfrom Nov 21, 2018
Merged
prune: move image pruning before build cache pruning#1527thaJeztah merged 1 commit intodocker:masterfrom
thaJeztah merged 1 commit intodocker:masterfrom
Conversation
72b7ba4 to
db694fe
Compare
This is cleaner because running system prune twice in a row now results in a no-op the second time. Signed-off-by: Tibor Vass <tibor@docker.com>
db694fe to
6c10abb
Compare
Codecov Report
@@ Coverage Diff @@
## master #1527 +/- ##
==========================================
- Coverage 55.23% 55.22% -0.02%
==========================================
Files 289 289
Lines 19374 19384 +10
==========================================
+ Hits 10702 10705 +3
- Misses 7977 7983 +6
- Partials 695 696 +1 |
tonistiigi
approved these changes
Nov 21, 2018
thaJeztah
approved these changes
Nov 21, 2018
Member
thaJeztah
left a comment
There was a problem hiding this comment.
LGTM
LOL, I thought that pruning cache before images was by design (as it generally completes faster, thus reducing the risk that prune times out / is canceled before the cache is pruned) 😅
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is cleaner because running system prune twice in a row
now results in a no-op the second time.
Signed-off-by: Tibor Vass tibor@docker.com