Class: Gitlab::QA::Component::Staging
- Inherits:
-
Object
- Object
- Gitlab::QA::Component::Staging
- Defined in:
- lib/gitlab/qa/component/staging.rb
Defined Under Namespace
Classes: InvalidResponseError, Version
Constant Summary collapse
- ADDRESS =
'https://staging.gitlab.com'.freeze
Class Method Summary collapse
Class Method Details
.release ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/gitlab/qa/component/staging.rb', line 11 def self.release version = Version.new(ADDRESS).fetch! Release.new("EE:#{version}") rescue InvalidResponseError => ex warn ex. warn "#{ex.response.code} #{ex.response.message}: #{ex.response.body}" exit 1 end |