Sha256: 60b55e83d6fb77543ed84bf8096d40c237627be37c72f7d84e409d3bbdfc261e
Contents?: true
Size: 875 Bytes
Versions: 12
Compression:
Stored size: 875 Bytes
Contents
require 'tmpdir' require 'fileutils' module Gitlab module QA module Scenario module Test module Omnibus class Update < Scenario::Template def perform(from_release, to_release = nil) previous_release = Release.new(from_release).previous_stable current_release = Release.new(to_release || from_release) Docker::Volumes.new.with_temporary_volumes do |volumes| Scenario::Test::Instance::Image .perform(previous_release) do |scenario| scenario.volumes = volumes end Scenario::Test::Instance::Image .perform(current_release) do |scenario| scenario.volumes = volumes end end end end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems