summaryrefslogtreecommitdiff
path: root/app/workers/ci/pipeline_artifacts/create_quality_report_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/ci/pipeline_artifacts/create_quality_report_worker.rb')
-rw-r--r--app/workers/ci/pipeline_artifacts/create_quality_report_worker.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/workers/ci/pipeline_artifacts/create_quality_report_worker.rb b/app/workers/ci/pipeline_artifacts/create_quality_report_worker.rb
index 810106e8d9c..558153c69b2 100644
--- a/app/workers/ci/pipeline_artifacts/create_quality_report_worker.rb
+++ b/app/workers/ci/pipeline_artifacts/create_quality_report_worker.rb
@@ -5,14 +5,17 @@ module Ci
class CreateQualityReportWorker
include ApplicationWorker
+ sidekiq_options retry: 3
+
queue_namespace :pipeline_background
feature_category :code_testing
+ tags :exclude_from_kubernetes
idempotent!
def perform(pipeline_id)
Ci::Pipeline.find_by_id(pipeline_id).try do |pipeline|
- Ci::PipelineArtifacts::CreateCodeQualityMrDiffReportService.new.execute(pipeline)
+ Ci::PipelineArtifacts::CreateCodeQualityMrDiffReportService.new(pipeline).execute
end
end
end