Sha256: 4df11ece5e2a64e5c755571b77667b95bd1e3cddd30ff29695a0fc270c137d9b
Contents?: true
Size: 1.12 KB
Versions: 34
Compression:
Stored size: 1.12 KB
Contents
module Gitlab module QA module Scenario module Test module Instance ## # Base class to be used to define deployment environment scenarios # class DeploymentBase < Scenario::Template def perform(release_name = nil, *args) Runtime::Env.require_no_license! release = if release_name.nil? || release_name.start_with?('--') deployment_component.release else Release.new(release_name) end args.unshift(release_name) if release_name&.start_with?('--') Component::Specs.perform do |specs| specs.suite = 'Test::Instance::All' specs.release = release specs.args = [deployment_component::ADDRESS, *args] end end def deployment_component raise NotImplementedError, 'Please define the Component for the deployment environment associated with this scenario.' end end end end end end end
Version data entries
34 entries across 34 versions & 1 rubygems