gitlab-qa 5.12.0 → 5.13.4

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/docs/what_tests_can_be_run.md +55 -54
  3. data/lib/gitlab/qa.rb +4 -0
  4. data/lib/gitlab/qa/component/base.rb +131 -0
  5. data/lib/gitlab/qa/component/elasticsearch.rb +5 -33
  6. data/lib/gitlab/qa/component/gitlab.rb +16 -78
  7. data/lib/gitlab/qa/component/internet_tunnel.rb +6 -29
  8. data/lib/gitlab/qa/component/jira.rb +5 -44
  9. data/lib/gitlab/qa/component/ldap.rb +8 -51
  10. data/lib/gitlab/qa/component/mail_hog.rb +5 -44
  11. data/lib/gitlab/qa/component/minio.rb +9 -34
  12. data/lib/gitlab/qa/component/postgresql.rb +4 -36
  13. data/lib/gitlab/qa/component/release.rb +13 -0
  14. data/lib/gitlab/qa/component/saml.rb +5 -54
  15. data/lib/gitlab/qa/component/specs.rb +0 -11
  16. data/lib/gitlab/qa/component/staging.rb +2 -2
  17. data/lib/gitlab/qa/docker/engine.rb +8 -0
  18. data/lib/gitlab/qa/release.rb +25 -0
  19. data/lib/gitlab/qa/runtime/env.rb +29 -1
  20. data/lib/gitlab/qa/runtime/scenario.rb +36 -0
  21. data/lib/gitlab/qa/scenario/test/instance/any.rb +1 -1
  22. data/lib/gitlab/qa/scenario/test/instance/deployment_base.rb +1 -1
  23. data/lib/gitlab/qa/scenario/test/instance/geo.rb +1 -1
  24. data/lib/gitlab/qa/scenario/test/instance/release.rb +18 -0
  25. data/lib/gitlab/qa/scenario/test/instance/repository_storage.rb +1 -1
  26. data/lib/gitlab/qa/scenario/test/instance/smoke.rb +1 -1
  27. data/lib/gitlab/qa/scenario/test/integration/elasticsearch.rb +1 -1
  28. data/lib/gitlab/qa/scenario/test/integration/geo.rb +1 -1
  29. data/lib/gitlab/qa/scenario/test/integration/gitaly_ha.rb +5 -5
  30. data/lib/gitlab/qa/scenario/test/integration/jira.rb +1 -1
  31. data/lib/gitlab/qa/scenario/test/integration/packages.rb +1 -1
  32. data/lib/gitlab/qa/scenario/test/integration/praefect.rb +2 -2
  33. data/lib/gitlab/qa/scenario/test/integration/saml.rb +1 -1
  34. data/lib/gitlab/qa/scenario/test/integration/smtp.rb +1 -1
  35. data/lib/gitlab/qa/scenario/test/omnibus/update.rb +2 -2
  36. data/lib/gitlab/qa/scenario/test/omnibus/upgrade.rb +1 -1
  37. data/lib/gitlab/qa/scenario/test/sanity/version.rb +1 -1
  38. data/lib/gitlab/qa/version.rb +1 -1
  39. metadata +6 -2
@@ -9,7 +9,7 @@ module Gitlab
9
9
  Docker::Volumes.new.with_temporary_volumes do |volumes|
10
10
  # Create the Praefect database before enabling Praefect
11
11
  Component::Gitlab.perform do |gitlab|
12
- gitlab.release = Release.new(release)
12
+ gitlab.release = QA::Release.new(release)
13
13
  gitlab.name = 'gitlab'
14
14
  gitlab.network = 'test'
15
15
  gitlab.volumes = volumes
@@ -27,7 +27,7 @@ module Gitlab
27
27
 
28
28
  # Restart GitLab with Praefect enabled and then run the tests
29
29
  Component::Gitlab.perform do |gitlab|
30
- gitlab.release = Release.new(release)
30
+ gitlab.release = QA::Release.new(release)
31
31
  gitlab.name = 'gitlab'
32
32
  gitlab.network = 'test'
33
33
  gitlab.volumes = volumes
@@ -17,7 +17,7 @@ module Gitlab
17
17
  end
18
18
 
19
19
  def perform(release, *rspec_args)
20
- release = Release.new(release)
20
+ release = QA::Release.new(release)
21
21
  before_perform(release)
22
22
 
23
23
  Component::Gitlab.perform do |gitlab|
@@ -22,7 +22,7 @@ module Gitlab
22
22
  end
23
23
 
24
24
  def perform(release, *rspec_args)
25
- release = Release.new(release)
25
+ release = QA::Release.new(release)
26
26
 
27
27
  Component::Gitlab.perform do |gitlab|
28
28
  gitlab.release = release
@@ -8,8 +8,8 @@ module Gitlab
8
8
  module Omnibus
9
9
  class Update < Scenario::Template
10
10
  def perform(from_release, to_release = nil, *rspec_args)
11
- previous_release = Release.new(from_release).previous_stable
12
- current_release = Release.new(to_release || from_release)
11
+ previous_release = QA::Release.new(from_release).previous_stable
12
+ current_release = QA::Release.new(to_release || from_release)
13
13
 
14
14
  Docker::Volumes.new.with_temporary_volumes do |volumes|
15
15
  Component::Gitlab.perform do |gitlab|
@@ -8,7 +8,7 @@ module Gitlab
8
8
  module Omnibus
9
9
  class Upgrade < Scenario::Template
10
10
  def perform(image = 'CE', *rspec_args)
11
- ce_release = Release.new(image)
11
+ ce_release = QA::Release.new(image)
12
12
 
13
13
  if ce_release.ee?
14
14
  raise ArgumentError, 'Only CE can be upgraded to EE!'
@@ -24,7 +24,7 @@ module Gitlab
24
24
  end
25
25
  end
26
26
 
27
- project = "gitlab-org/#{Release.new(release).project_name}"
27
+ project = "gitlab-org/#{QA::Release.new(release).project_name}"
28
28
  commit = recent_commits(project).find { |c| c['id'] == version }
29
29
 
30
30
  if commit
@@ -1,5 +1,5 @@
1
1
  module Gitlab
2
2
  module QA
3
- VERSION = '5.12.0'.freeze
3
+ VERSION = '5.13.4'.freeze
4
4
  end
5
5
  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: 5.12.0
4
+ version: 5.13.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grzegorz Bizon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-20 00:00:00.000000000 Z
11
+ date: 2020-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control
@@ -237,6 +237,7 @@ files:
237
237
  - fixtures/ldap/tanuki.ldif
238
238
  - gitlab-qa.gemspec
239
239
  - lib/gitlab/qa.rb
240
+ - lib/gitlab/qa/component/base.rb
240
241
  - lib/gitlab/qa/component/elasticsearch.rb
241
242
  - lib/gitlab/qa/component/gitlab.rb
242
243
  - lib/gitlab/qa/component/internet_tunnel.rb
@@ -247,6 +248,7 @@ files:
247
248
  - lib/gitlab/qa/component/postgresql.rb
248
249
  - lib/gitlab/qa/component/preprod.rb
249
250
  - lib/gitlab/qa/component/production.rb
251
+ - lib/gitlab/qa/component/release.rb
250
252
  - lib/gitlab/qa/component/saml.rb
251
253
  - lib/gitlab/qa/component/specs.rb
252
254
  - lib/gitlab/qa/component/staging.rb
@@ -262,6 +264,7 @@ files:
262
264
  - lib/gitlab/qa/reporter.rb
263
265
  - lib/gitlab/qa/runner.rb
264
266
  - lib/gitlab/qa/runtime/env.rb
267
+ - lib/gitlab/qa/runtime/scenario.rb
265
268
  - lib/gitlab/qa/runtime/token_finder.rb
266
269
  - lib/gitlab/qa/scenario/actable.rb
267
270
  - lib/gitlab/qa/scenario/cli_commands.rb
@@ -273,6 +276,7 @@ files:
273
276
  - lib/gitlab/qa/scenario/test/instance/preprod.rb
274
277
  - lib/gitlab/qa/scenario/test/instance/production.rb
275
278
  - lib/gitlab/qa/scenario/test/instance/relative_url.rb
279
+ - lib/gitlab/qa/scenario/test/instance/release.rb
276
280
  - lib/gitlab/qa/scenario/test/instance/repository_storage.rb
277
281
  - lib/gitlab/qa/scenario/test/instance/smoke.rb
278
282
  - lib/gitlab/qa/scenario/test/instance/staging.rb