Sha256: 75fc9a2c2e38655a7975efdedc7383964b558dc2dbd158988f72ebd64af7b840
Contents?: true
Size: 994 Bytes
Versions: 67
Compression:
Stored size: 994 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, *rspec_args) previous_release = Release.new(from_release).previous_stable current_release = Release.new(to_release || from_release) Docker::Volumes.new.with_temporary_volumes do |volumes| Component::Gitlab.perform do |gitlab| gitlab.release = previous_release gitlab.volumes = volumes gitlab.network = 'test' gitlab.launch_and_teardown_instance end Scenario::Test::Instance::Image .perform(current_release, *rspec_args) do |scenario| scenario.volumes = volumes end end end end end end end end end
Version data entries
67 entries across 67 versions & 1 rubygems