Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8dd241ad
Commit
8dd241ad
authored
Jul 06, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix merge conflicts in ExpirePipelineCacheWorker
parent
f5cfddee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
app/workers/expire_pipeline_cache_worker.rb
app/workers/expire_pipeline_cache_worker.rb
+4
-8
No files found.
app/workers/expire_pipeline_cache_worker.rb
View file @
8dd241ad
...
...
@@ -10,17 +10,18 @@ class ExpirePipelineCacheWorker
store
=
Gitlab
::
EtagCaching
::
Store
.
new
store
.
touch
(
project_pipelines_path
(
project
))
store
.
touch
(
project_pipeline_path
(
pipeline
))
store
.
touch
(
project_pipeline_path
(
p
roject
,
p
ipeline
))
store
.
touch
(
commit_pipelines_path
(
project
,
pipeline
.
commit
))
if
pipeline
.
commit
store
.
touch
(
new_merge_request_pipelines_path
(
project
))
each_pipelines_merge_request_path
(
project
,
pipeline
)
do
|
path
|
store
.
touch
(
path
)
end
store
.
touch
(
project_pipeline_path
(
pipeline
.
triggered_by_pipeline
))
if
pipeline
.
triggered_by_pipeline
triggered_by
=
pipeline
.
triggered_by_pipeline
store
.
touch
(
project_pipeline_path
(
triggered_by
.
project
,
triggered_by
))
if
triggered_by
pipeline
.
triggered_pipelines
.
each
do
|
triggered
|
store
.
touch
(
project_pipeline_path
(
triggered
))
store
.
touch
(
project_pipeline_path
(
triggered
.
project
,
triggered
))
end
Gitlab
::
Cache
::
Ci
::
ProjectPipelineStatus
.
update_for_pipeline
(
pipeline
)
...
...
@@ -32,13 +33,8 @@ class ExpirePipelineCacheWorker
Gitlab
::
Routing
.
url_helpers
.
project_pipelines_path
(
project
,
format: :json
)
end
<<<<<<<
HEAD
def
project_pipeline_path
(
pipeline
)
Gitlab
::
Routing
.
url_helpers
.
project_pipeline_path
(
pipeline
.
project
,
pipeline
,
format: :json
)
=======
def
project_pipeline_path
(
project
,
pipeline
)
Gitlab
::
Routing
.
url_helpers
.
project_pipeline_path
(
project
,
pipeline
,
format: :json
)
>>>>>>>
ce
/
master
end
def
commit_pipelines_path
(
project
,
commit
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment