gitlab-qa 10.2.0 → 10.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aede5d84c866e5e020124c2e7d5df9e3a19a142ce774482eb6c05520c4442332
4
- data.tar.gz: cc24b8d169a913fe0f8ff0ab69429201ded46e2ba10e6c1bd861a791b92e7683
3
+ metadata.gz: 6a87ce2862d1a1e65107ce6b34b35e9ffdea5dacd3ac8d193d0193ccd70955f2
4
+ data.tar.gz: 6b5e54d9aff03e63831b2874076ade24540c164e5391e628c0ab7b6a2a0f19b6
5
5
  SHA512:
6
- metadata.gz: 2e12535c73f7452f7ee0b4298d3ea04f3ddc24e759bd98c2ac43241fc85585d85ebcbe7cb14bfdb72a898417ddd5485b698d9fdc3345687a4a6964b18139f567
7
- data.tar.gz: 00f4bd3f028d2b96f9cb251dd0816c29c8cf5365bc5243765c833b8d03c8ba47f57ecdda5eaa7204772a9965f6a864296b069b607a5317ea558026a216b240ba
6
+ metadata.gz: 617455a03eba3c3e7fb55eed317084851160409105c356d76cfb7c449daa383985a62ae7a4ccac64e2804511aed8a7fe826a4bf3effac7210150c5359fa209d7
7
+ data.tar.gz: 9947e70d1176453db67c99223ed72c9f8be9764ffb80985fd94666d758ef5abca7b3d67b294f24988d5d089a6b1f1afc9e30ca2eed9134c944c8ccec2a1216b6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-qa (10.2.0)
4
+ gitlab-qa (10.2.1)
5
5
  activesupport (~> 6.1)
6
6
  gitlab (~> 4.18.0)
7
7
  http (~> 5.0)
@@ -315,7 +315,7 @@ $ gitlab-qa Test::Omnibus::Upgrade CE
315
315
  $ gitlab-qa Test::Omnibus::Upgrade gitlab/gitlab-ce:my-custom-tag
316
316
  ```
317
317
 
318
- ### `Test::Omnibus::UpdateFromPrevious <full image address> <current_version> <major|minor>`
318
+ ### `Test::Omnibus::UpdateFromPrevious <full image address> <current_version> <major|minor> <from_edition>`
319
319
 
320
320
  Scenario verifies upgrade from previous (major|minor) version to current release.
321
321
 
@@ -22,11 +22,18 @@ module Gitlab
22
22
  # @param [Array] *rspec_args rspec arguments
23
23
  # @return [void]
24
24
  def perform(release, current_version, semver_component, from_edition = nil, *rspec_args)
25
+ # When from_edition isn't actually passed but RSpec args arg passed with `-- rspec_args...`,
26
+ # from_edition is wrongly set to `--`, so we fix that here.
27
+ if from_edition == "--"
28
+ rspec_args.prepend('--')
29
+ from_edition = nil
30
+ end
31
+
25
32
  @current_release = QA::Release.new(release)
26
33
  @upgrade_path = Support::GitlabUpgradePath.new(
27
34
  current_version,
28
35
  semver_component,
29
- from_edition.nil? || from_edition == "--" ? @current_release.edition : from_edition
36
+ from_edition || @current_release.edition
30
37
  ).fetch
31
38
 
32
39
  upgrade_info = "#{[*upgrade_path, current_release].join(' => ')} (#{current_version})".bright
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module QA
5
- VERSION = '10.2.0'
5
+ VERSION = '10.2.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-qa
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.2.0
4
+ version: 10.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Quality
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-13 00:00:00.000000000 Z
11
+ date: 2023-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control