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
Boxiang Sun
gitlab-ce
Commits
ad12ee2a
Commit
ad12ee2a
authored
Aug 21, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assign some CI/CD workers to pipeline default queue
parent
4c936682
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
7 deletions
+1
-7
app/workers/build_coverage_worker.rb
app/workers/build_coverage_worker.rb
+0
-2
app/workers/pipeline_metrics_worker.rb
app/workers/pipeline_metrics_worker.rb
+0
-2
app/workers/pipeline_notification_worker.rb
app/workers/pipeline_notification_worker.rb
+0
-2
config/sidekiq_queues.yml
config/sidekiq_queues.yml
+1
-1
No files found.
app/workers/build_coverage_worker.rb
View file @
ad12ee2a
...
...
@@ -2,8 +2,6 @@ class BuildCoverageWorker
include
Sidekiq
::
Worker
include
PipelineQueue
enqueue_in
group: :processing
def
perform
(
build_id
)
Ci
::
Build
.
find_by
(
id:
build_id
)
&
.
update_coverage
end
...
...
app/workers/pipeline_metrics_worker.rb
View file @
ad12ee2a
...
...
@@ -2,8 +2,6 @@ class PipelineMetricsWorker
include
Sidekiq
::
Worker
include
PipelineQueue
enqueue_in
group: :metrics
def
perform
(
pipeline_id
)
Ci
::
Pipeline
.
find_by
(
id:
pipeline_id
).
try
do
|
pipeline
|
update_metrics_for_active_pipeline
(
pipeline
)
if
pipeline
.
active?
...
...
app/workers/pipeline_notification_worker.rb
View file @
ad12ee2a
...
...
@@ -2,8 +2,6 @@ class PipelineNotificationWorker
include
Sidekiq
::
Worker
include
PipelineQueue
enqueue_in
group: :hooks
def
perform
(
pipeline_id
,
recipients
=
nil
)
pipeline
=
Ci
::
Pipeline
.
find_by
(
id:
pipeline_id
)
...
...
config/sidekiq_queues.yml
View file @
ad12ee2a
...
...
@@ -28,8 +28,8 @@
- [build, 2]
- [pipeline, 2]
- [pipeline_processing, 2]
- [pipeline_default, 2]
- [pipeline_cache, 2]
- [pipeline_metrics, 2]
- [pipeline_hooks, 2]
- [gitlab_shell, 2]
- [email_receiver, 2]
...
...
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