Sha256: aa3b1011ea46f32b777a5e1aba8eb04676883f1de5e5ef444a597a680df17440
Contents?: true
Size: 386 Bytes
Versions: 3
Compression:
Stored size: 386 Bytes
Contents
module Shipit class AppendDelayedReleaseStatusJob < BackgroundJob include BackgroundJob::Unique queue_as :default def lock_key(deploy, *) super(deploy) end def perform(deploy, cursor:, status:, description:) return unless cursor == deploy.until_commit.release_statuses.last deploy.append_release_status(status, description) end end end
Version data entries
3 entries across 3 versions & 1 rubygems