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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
93386411
Commit
93386411
authored
Jan 29, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add worker queue
parent
abc64da9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
app/services/ci/create_trace_artifact_service.rb
app/services/ci/create_trace_artifact_service.rb
+1
-1
app/workers/all_queues.yml
app/workers/all_queues.yml
+1
-0
app/workers/create_trace_artifact_worker.rb
app/workers/create_trace_artifact_worker.rb
+1
-1
No files found.
app/services/ci/create_trace_artifact_service.rb
View file @
93386411
...
...
@@ -7,7 +7,7 @@ module Ci
job
.
create_job_artifacts_trace!
(
project:
job
.
project
,
file_type: :trace
,
file:
stream
.
path
)
if
stream
.
file?
file:
stream
)
if
stream
.
file?
end
end
end
...
...
app/workers/all_queues.yml
View file @
93386411
...
...
@@ -43,6 +43,7 @@
-
pipeline_creation:run_pipeline_schedule
-
pipeline_default:build_coverage
-
pipeline_default:build_trace_sections
-
pipeline_default:create_trace_artifact
-
pipeline_default:pipeline_metrics
-
pipeline_default:pipeline_notification
-
pipeline_default:update_head_pipeline_for_merge_request
...
...
app/workers/create_trace_artifact_worker.rb
View file @
93386411
...
...
@@ -4,7 +4,7 @@ class CreateTraceArtifactWorker
def
perform
(
job_id
)
Ci
::
Build
.
find_by
(
id:
job_id
).
try
do
|
job
|
Ci
::
CreateTraceArtifactService
.
new
.
execute
(
job
)
Ci
::
CreateTraceArtifactService
.
new
(
nil
,
nil
)
.
execute
(
job
)
end
end
end
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