BigW Consortium Gitlab

pipeline_update_worker.rb 226 Bytes
Newer Older
1
class PipelineUpdateWorker
2
  include ApplicationWorker
3
  include PipelineQueue
4

5
  queue_namespace :pipeline_processing
6

7
  def perform(pipeline_id)
8 9
    Ci::Pipeline.find_by(id: pipeline_id)
      .try(:update_status)
10 11
  end
end