Commit graph

3 commits

Author SHA1 Message Date
Toon Claes
14642e3c28 Refactor ExpirePipelineCacheWorker#perform
Make it gracefully handle unexisting pipelines and refactor iterating
all the merge request paths.
2017-04-24 10:23:41 +02:00
Toon Claes
c623c41c2f Use a better performing query to find all MRs for pipeline
And add some specs.
2017-04-24 10:07:01 +02:00
Toon Claes
ccb9beeed0 Properly expire cache for **all** MRs of a pipeline
Turn ExpirePipelineCacheService into Worker so it can fetch all the
merge requests for which the pipeline runs or did run against.
2017-04-24 10:07:01 +02:00