summaryrefslogtreecommitdiff
path: root/app/workers/build_trace_sections_worker.rb
blob: 0641130fd64030bd482af6e576dd2d14dd0238da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class BuildTraceSectionsWorker
  include ApplicationWorker
  include PipelineQueue

  # rubocop: disable CodeReuse/ActiveRecord
  def perform(build_id)
    Ci::Build.find_by(id: build_id)&.parse_trace_sections!
  end
  # rubocop: enable CodeReuse/ActiveRecord
end