Sha256: f953324a64cb0c87a052f65277c8524ee2cd0b0b2d5836d6a0a822e4fb09300c
Contents?: true
Size: 397 Bytes
Versions: 22
Compression:
Stored size: 397 Bytes
Contents
class FetchDeployedRevisionJob < BackgroundJob queue_as :default def perform(stack) return if stack.deploying? commands = StackCommands.new(stack) begin sha = commands.fetch_deployed_revision rescue DeploySpec::Error end return unless sha.present? begin stack.update_deployed_revision(sha) rescue ActiveRecord::RecordNotFound end end end
Version data entries
22 entries across 22 versions & 1 rubygems