blob: 69f2318d83bb7d2838a6b688bccfd400aa4765b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
class StageUpdateWorker
include ApplicationWorker
include PipelineQueue
enqueue_in group: :processing
def perform(stage_id)
Ci::Stage.find_by(id: stage_id).try do |stage|
stage.update_status
end
end
end
|