Welcome to mirror list, hosted at ThFree Co, Russian Federation.

build_trace_sections_worker.rb « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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