Sha256: c217fac03078889d6a2aa15ea947b39e081c3a5cdd1b2ecfc73193171536e92f
Contents?: true
Size: 1002 Bytes
Versions: 116
Compression:
Stored size: 1002 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 = QA::Release.new(from_release).previous_stable current_release = QA::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
116 entries across 116 versions & 1 rubygems