BigW Consortium Gitlab

Commit 5505795e by Grzegorz Bizon

Add simple asynchronous stage update worker

parent bbdc3571
class StageUpdateWorker
include Sidekiq::Worker
include PipelineQueue
def perform(stage_id)
Ci::Stage.find_by(id: stage_id)&.update!
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment