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.
- checksums.yaml +4 -4
- data/docs/what_tests_can_be_run.md +55 -54
- data/lib/gitlab/qa.rb +4 -0
- data/lib/gitlab/qa/component/base.rb +131 -0
- data/lib/gitlab/qa/component/elasticsearch.rb +5 -33
- data/lib/gitlab/qa/component/gitlab.rb +16 -78
- data/lib/gitlab/qa/component/internet_tunnel.rb +6 -29
- data/lib/gitlab/qa/component/jira.rb +5 -44
- data/lib/gitlab/qa/component/ldap.rb +8 -51
- data/lib/gitlab/qa/component/mail_hog.rb +5 -44
- data/lib/gitlab/qa/component/minio.rb +9 -34
- data/lib/gitlab/qa/component/postgresql.rb +4 -36
- data/lib/gitlab/qa/component/release.rb +13 -0
- data/lib/gitlab/qa/component/saml.rb +5 -54
- data/lib/gitlab/qa/component/specs.rb +0 -11
- data/lib/gitlab/qa/component/staging.rb +2 -2
- data/lib/gitlab/qa/docker/engine.rb +8 -0
- data/lib/gitlab/qa/release.rb +25 -0
- data/lib/gitlab/qa/runtime/env.rb +29 -1
- data/lib/gitlab/qa/runtime/scenario.rb +36 -0
- data/lib/gitlab/qa/scenario/test/instance/any.rb +1 -1
- data/lib/gitlab/qa/scenario/test/instance/deployment_base.rb +1 -1
- data/lib/gitlab/qa/scenario/test/instance/geo.rb +1 -1
- data/lib/gitlab/qa/scenario/test/instance/release.rb +18 -0
- data/lib/gitlab/qa/scenario/test/instance/repository_storage.rb +1 -1
- data/lib/gitlab/qa/scenario/test/instance/smoke.rb +1 -1
- data/lib/gitlab/qa/scenario/test/integration/elasticsearch.rb +1 -1
- data/lib/gitlab/qa/scenario/test/integration/geo.rb +1 -1
- data/lib/gitlab/qa/scenario/test/integration/gitaly_ha.rb +5 -5
- data/lib/gitlab/qa/scenario/test/integration/jira.rb +1 -1
- data/lib/gitlab/qa/scenario/test/integration/packages.rb +1 -1
- data/lib/gitlab/qa/scenario/test/integration/praefect.rb +2 -2
- data/lib/gitlab/qa/scenario/test/integration/saml.rb +1 -1
- data/lib/gitlab/qa/scenario/test/integration/smtp.rb +1 -1
- data/lib/gitlab/qa/scenario/test/omnibus/update.rb +2 -2
- data/lib/gitlab/qa/scenario/test/omnibus/upgrade.rb +1 -1
- data/lib/gitlab/qa/scenario/test/sanity/version.rb +1 -1
- data/lib/gitlab/qa/version.rb +1 -1
- 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
|
@@ -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!'
|
data/lib/gitlab/qa/version.rb
CHANGED
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.
|
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-
|
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
|