Sha256: 899527480f275cf7310d24bb2525aa2161707a452bdca985e7ef84699e46513e
Contents?: true
Size: 398 Bytes
Versions: 8
Compression:
Stored size: 398 Bytes
Contents
module Shipit class CacheDeploySpecJob < BackgroundJob include BackgroundJob::Unique def perform(stack) return if stack.inaccessible? commands = Commands.for(stack) commands.with_temporary_working_directory(commit: stack.commits.last) do |path| stack.update!(cached_deploy_spec: DeploySpec::FileSystem.new(path, stack.environment)) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems