forked from coreos/coreos-assembler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow-up to coreos#243. Become aware of tags and make sure not to prune builds that are tagged. I went the path of making tagged builds *not* counting towards the `--keep=N` limit since that felt the most natural to me. One tricky bit is the OSTree repo pruning. The CLI is not really geared towards this kind of pruning since we now could have older (tagged) commits that we care about while some newer commits on that same branch we don't care about. For now, I just swapped it to use `--keep-younger-than`. Though this does align well with another improvement I'd like to make to `prune` to learn timestamp-based pruning instead.
- Loading branch information
Showing
5 changed files
with
70 additions
and
30 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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