Remove the whole distgit cache before triggering
AbandonedPublic

Authored by mkrizek on Apr 25 2016, 9:56 AM.

Details

Reviewers
tflink
Summary

Remove the whole distgit cache instead of removing just package-specific
cache and prevent the trigger from eating the disk space.

Test Plan

Tested locally, worked for me. Unittests amended.

Diff Detail

Repository
rTRGR taskotron-trigger
Branch
feature/rm-distgit-cache
Lint
Lint OK
Unit
Unit Tests OK
Build Status
Buildable 552
Build 552: arc lint + arc unit
mkrizek retitled this revision from to Remove the whole distgit cache before triggering.Apr 25 2016, 9:56 AM
mkrizek updated this object.
mkrizek edited the test plan for this revision. (Show Details)
mkrizek added a reviewer: tflink.

Isn't there a chance of multiple tasks interfering with each other if each task trigger is recursively removing all the dist-git checkouts?

In D825#15650, @tflink wrote:

Isn't there a chance of multiple tasks interfering with each other if each task trigger is recursively removing all the dist-git checkouts?

Er, fedmsg consumers run in multiple threads, don't they?

mkrizek abandoned this revision.Apr 25 2016, 5:10 PM