gitlab-org--gitlab-foss/app/workers/build_trace_sections_worker.rb

10 lines
208 B
Ruby

# frozen_string_literal: true
class BuildTraceSectionsWorker
include ApplicationWorker
include PipelineQueue
def perform(build_id)
Ci::Build.find_by(id: build_id)&.parse_trace_sections!
end
end