Commit Graph

7 Commits

Author SHA1 Message Date
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Grzegorz Bizon 0430b76441 Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
Z.J. van de Weg 336635f283 Test the ExpireJobCacheWorker and related changes
These were untested by the cherry picked commit.
2017-05-22 22:07:11 +02:00
Toon Claes 956624688d Simplify specs and remove unnecessary attributes 2017-04-24 10:23:42 +02:00
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