Commit Graph

16 Commits

Author SHA1 Message Date
GitLab Bot 77839aae00 Add latest changes from gitlab-org/gitlab@master 2022-04-21 12:10:16 +00:00
GitLab Bot 5f0d27d131 Add latest changes from gitlab-org/gitlab@master 2021-12-03 12:10:23 +00:00
GitLab Bot fee19ef336 Add latest changes from gitlab-org/gitlab@master 2021-11-23 18:12:49 +00:00
GitLab Bot e2d00f9148 Add latest changes from gitlab-org/gitlab@master 2021-06-22 12:08:05 +00:00
GitLab Bot f3197dab7f Add latest changes from gitlab-org/gitlab@master 2021-04-27 06:09:45 +00:00
GitLab Bot bf2439c213 Add latest changes from gitlab-org/gitlab@master 2021-03-02 18:11:20 +00:00
GitLab Bot 75f7a098dc Add latest changes from gitlab-org/gitlab@master 2021-02-26 18:11:10 +00:00
GitLab Bot 35c5f0c35c Add latest changes from gitlab-org/gitlab@master 2021-02-24 12:10:54 +00:00
GitLab Bot e994d22d1d Add latest changes from gitlab-org/gitlab@master 2020-09-28 21:10:29 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +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
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
Bob Van Landuyt 9eded57dd2 Use `Ci::ExpirePipelineCacheService` to set `ProjectPipelinestatus` 2017-04-07 17:24:11 +02:00
Toon Claes e6571ed9f9
Check if a commit belongs to pipeline before trying to expire cache 2017-04-06 23:50:37 +02:00
Toon Claes 9e89c93e16
Enable polling for pipelines table other pages
Also poll for pipeline changes on:
 - Pipeline table on commit page
 - Pipeline table on merge request page
 - Pipeline table on new merge request page
2017-04-06 23:50:37 +02:00
Toon Claes 847b9c8232
Use Etag caching for pipelines json
Enable caching in the Etag::Middleware and when a pipeline changes
status, expire the cache for the project pipelines path.
2017-04-06 23:50:36 +02:00