diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2017-04-07 10:56:35 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2017-04-07 17:24:11 +0200 |
commit | 9eded57dd2b4d23e43b485c448abb92359e6933e (patch) | |
tree | 061e49c5482a919f3680d858994fae304cd4edbe /app/services | |
parent | 516a405eb277e088d3b4ae3cb6e64f0bd2d3aff0 (diff) | |
download | gitlab-ce-9eded57dd2b4d23e43b485c448abb92359e6933e.tar.gz |
Use `Ci::ExpirePipelineCacheService` to set `ProjectPipelinestatus`bvl-fix-project-ci-status-cache
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/ci/expire_pipeline_cache_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/ci/expire_pipeline_cache_service.rb b/app/services/ci/expire_pipeline_cache_service.rb index c0e4a798f6a..91d9c1d2ba1 100644 --- a/app/services/ci/expire_pipeline_cache_service.rb +++ b/app/services/ci/expire_pipeline_cache_service.rb @@ -10,6 +10,8 @@ module Ci store.touch(commit_pipelines_path) if pipeline.commit store.touch(new_merge_request_pipelines_path) merge_requests_pipelines_paths.each { |path| store.touch(path) } + + Gitlab::Cache::Ci::ProjectPipelineStatus.update_for_pipeline(@pipeline) end private |