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
c1d3b48c
Commit
c1d3b48c
authored
May 04, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change BuildTraceChunkFlushWorker's queue from pipeline_processing to pipeline_background
parent
8b47980e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
app/workers/all_queues.yml
app/workers/all_queues.yml
+1
-1
app/workers/ci/build_trace_chunk_flush_worker.rb
app/workers/ci/build_trace_chunk_flush_worker.rb
+1
-2
spec/requests/api/runner_spec.rb
spec/requests/api/runner_spec.rb
+1
-1
No files found.
app/workers/all_queues.yml
View file @
c1d3b48c
...
...
@@ -52,6 +52,7 @@
-
pipeline_creation:create_pipeline
-
pipeline_creation:run_pipeline_schedule
-
pipeline_background:archive_trace
-
pipeline_background:ci_build_trace_chunk_flush
-
pipeline_default:build_coverage
-
pipeline_default:build_trace_sections
-
pipeline_default:pipeline_metrics
...
...
@@ -66,7 +67,6 @@
-
pipeline_processing:pipeline_update
-
pipeline_processing:stage_update
-
pipeline_processing:update_head_pipeline_for_merge_request
-
pipeline_processing:ci_build_trace_chunk_flush
-
repository_check:repository_check_clear
-
repository_check:repository_check_single_repository
...
...
app/workers/ci/build_trace_chunk_flush_worker.rb
View file @
c1d3b48c
module
Ci
class
BuildTraceChunkFlushWorker
include
ApplicationWorker
queue_namespace
:pipeline_processing
include
PipelineBackgroundQueue
def
perform
(
build_trace_chunk_id
)
::
Ci
::
BuildTraceChunk
.
find_by
(
id:
build_trace_chunk_id
).
try
do
|
build_trace_chunk
|
...
...
spec/requests/api/runner_spec.rb
View file @
c1d3b48c
...
...
@@ -901,7 +901,7 @@ describe API::Runner, :clean_gitlab_redis_shared_state do
context
'when we resend full trace'
do
before
do
patch_the_trace
(
'BUILD TRACE appended appended hello'
)
patch_the_trace
(
'BUILD TRACE appended appended hello'
,
headers
.
merge
({
'Content-Range'
=>
"0-32"
})
)
end
it
'succeeds with updating trace'
do
...
...
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