#1927 koji-gc has no documentation
Closed: Fixed 4 years ago by tkopecek. Opened 4 years ago by kevin.

It would be nice if there was at least some docs on koji-gc rather than having to look at the script.

koji-gc is a script to assist you with removing old content that you no longer wish to store. It only acts on the build artifacts and logs, not the database. (ie, there would still be a record of the build, but no artifacts to download).

koji-gc has 4 'actions'

  • prune: builds are untagged after a threshold according to policy of the tag(s) they are in.
  • trash: builds with no tags for a threshold time are tagged into the 'trashcan' tag
  • delete: builds that have been in the 'trashcan' tag for over the threshold time, and haven't since been tagged into other tags, are untagged from 'tashcan' and build artifacts are deleted.
  • salvage: builds that are in the trashcan time that have been tagged into another tag are untagged from trashcan

Might talk about the koji-gc policy file as well.

Thanks!


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.21

4 years ago

Metadata Update from @tkopecek:
- Issue tagged with: doc

4 years ago

Metadata Update from @jcupova:
- Issue tagged with: no_qe

4 years ago

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.20.1 (was: 1.21)

4 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1935 Merged 4 years ago