Sha256: 6ee722095c68b519181ec3313cb85ec5396a6756bf7ddb75eb80fbc4080c85d1
Contents?: true
Size: 408 Bytes
Versions: 12
Compression:
Stored size: 408 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.reachable.last) do |path| stack.update!(cached_deploy_spec: DeploySpec::FileSystem.new(path, stack.environment)) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems