Class: Gitlab::QA::Scenario::Test::Omnibus::UpdateFromPrevious
- Inherits:
-
Gitlab::QA::Scenario::Template
- Object
- Gitlab::QA::Scenario::Template
- Gitlab::QA::Scenario::Test::Omnibus::UpdateFromPrevious
- Defined in:
- lib/gitlab/qa/scenario/test/omnibus/update_from_previous.rb
Instance Method Summary collapse
-
#perform(release, current_version, semver_component, *rspec_args) ⇒ void
Test update from N - 1 (major|minor|patch) version to current release Run smoke test suite on previous release to populate some data in database before update.
Methods inherited from Gitlab::QA::Scenario::Template
Instance Method Details
#perform(release, current_version, semver_component, *rspec_args) ⇒ void
This method returns an undefined value.
Test update from N - 1 (major|minor|patch) version to current release Run smoke test suite on previous release to populate some data in database before update
perform(gitlab-ee:dev-tag, 15.3.0-pre, major)
> will perform upgrades 14.9.5 -> 15.0.5 -> gitlab-ee:dev-tag
23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/gitlab/qa/scenario/test/omnibus/update_from_previous.rb', line 23 def perform(release, current_version, semver_component, *rspec_args) @current_release = QA::Release.new(release) @upgrade_path = Support::GitlabUpgradePath.new( current_version, semver_component, @current_release.edition ).fetch upgrade_info = "#{[*upgrade_path, current_release].join(' => ')} (#{current_version})".bright Runtime::Logger.info("Performing gitlab update: #{upgrade_info}") update(rspec_args) end |