GitLab Bot
aea64c367b
Add latest changes from gitlab-org/gitlab@master
2021-09-06 09:11:02 +00:00
GitLab Bot
e6779ab919
Add latest changes from gitlab-org/gitlab@master
2021-06-18 09:10:09 +00:00
GitLab Bot
81f257d72e
Add latest changes from gitlab-org/gitlab@master
2021-06-14 15:09:48 +00:00
GitLab Bot
a8324cd026
Add latest changes from gitlab-org/gitlab@master
2021-03-26 21:09:22 +00:00
GitLab Bot
75f7a098dc
Add latest changes from gitlab-org/gitlab@master
2021-02-26 18:11:10 +00:00
GitLab Bot
4c5468b408
Add latest changes from gitlab-org/gitlab@master
2020-06-24 15:08:50 +00:00
GitLab Bot
e33f87ac0f
Add latest changes from gitlab-org/gitlab@master
2020-04-21 15:21:10 +00:00
GitLab Bot
e4dffdfe36
Add latest changes from gitlab-org/gitlab@master
2020-02-13 18:09:00 +00:00
GitLab Bot
e723867717
Add latest changes from gitlab-org/gitlab@master
2019-12-17 18:07:48 +00:00
Stan Hu
1625979653
Properly expire all pipeline caches when pipeline is deleted
...
When deleting a pipeline, only some of the cache structures were being
expired, but not the full pipeline list. We have to synchronously
schedule a pipeline cache expiration because the pipeline will be
deleted if the Sidekiq expiration job picks it up. To do this, properly
extract all the logic buried in the Sidekiq worker into a service, and
then call the service.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60469
2019-04-15 08:10:10 -07:00
Thong Kuah
d6b952ad3e
Add frozen_string_literal to spec/workers
...
Adds `# frozen_string_literal: true` to spec/workers ruby files
2019-04-01 13:35:22 -03:00
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