summaryrefslogtreecommitdiff
path: root/app/workers/expire_pipeline_cache_worker.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@12-10-stable-eeGitLab Bot2020-04-201-1/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-021-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-191-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-131-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-301-0/+2
|
* Properly expire all pipeline caches when pipeline is deletedsh-fix-pipeline-delete-cachingStan Hu2019-04-151-50/+1
| | | | | | | | | | | 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
* Fix Etag expiration for forked projectsStan Hu2019-02-261-3/+3
| | | | | | When a pipeline is for a forked merge request, we have to invalidate the ETag for both the target and source project pipelines. Before we were only invalidating the target project's pipeline.
* Refactor ExpirePipelineCacheWorker for EEYorick Peterse2019-01-211-8/+20
| | | | | | This refactors ExpirePipelineCacheWorker so that EE can more easily extend its logic, without having to inject code in the middle of a CE method.
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Enable frozen string literals for app/workers/*.rbgfyoung2018-06-271-0/+2
|
* Load commit in batches for pipelines#indexZeger-Jan van de Weg2017-12-191-1/+1
| | | | | | | | | | Uses `list_commits_by_oid` on the CommitService, to request the needed commits for pipelines. These commits are needed to display the user that created the commit and the commit title. This includes fixes for tests failing that depended on the commit being `nil`. However, now these are batch loaded, this doesn't happen anymore and the commits are an instance of BatchLoader.
* Use a dedicated queue for each workerDouwe Maan2017-12-121-1/+1
|
* Add ApplicationWorker and make every worker include itDouwe Maan2017-12-051-1/+1
|
* Assign all pipeline workers to specific queuesGrzegorz Bizon2017-08-211-0/+2
|
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-23/+5
|
* Split up MergeRequestsControllerdm-merge-request-creations-controllerDouwe Maan2017-06-281-1/+1
|
* Add MISSING e-tag refresh of resource for Job, and Pipeline GraphKamil Trzcinski2017-05-221-0/+9
|
* Refactor ExpirePipelineCacheWorker#performToon Claes2017-04-241-5/+11
| | | | | Make it gracefully handle unexisting pipelines and refactor iterating all the merge request paths.
* Use a better performing query to find all MRs for pipelineToon Claes2017-04-241-2/+2
| | | | And add some specs.
* Properly expire cache for **all** MRs of a pipelineToon Claes2017-04-241-0/+51
Turn ExpirePipelineCacheService into Worker so it can fetch all the merge requests for which the pipeline runs or did run against.