gitlab-qa 2.3.0 → 2.4.0
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/how_it_works.md +2 -2
- data/docs/what_tests_can_be_run.md +3 -3
- data/lib/gitlab/qa/scenario/test/instance/any.rb +1 -1
- data/lib/gitlab/qa/scenario/test/instance/image.rb +1 -1
- data/lib/gitlab/qa/scenario/test/instance/staging.rb +1 -1
- data/lib/gitlab/qa/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dc61ff76fb45f254e883b53575de7e09482348b52f7b72a0e840f8b8024302e
|
4
|
+
data.tar.gz: 656af151c59ce81cfed572c9d3c73a4425234155b2f48da6dda7f633b3b2be20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb409def7c5f6db99941f2632ffa51c58ccd42b862bbc65e61ab56d80988184e29950da6a62023225982472318bf367eafae57c3dbec733d202d87eed86ad86d
|
7
|
+
data.tar.gz: '0089c9e722eadfdb095b1fbbf60333d6e0ff7f19a8b18cba4bcc772c9b3765823e297eea19b8fce8b63577089ed53ab96a27ff0d9e6b58c4442ee6d5997138f2'
|
data/docs/how_it_works.md
CHANGED
@@ -12,7 +12,7 @@ For a visual architecture explanation, please read the
|
|
12
12
|
1. A new `gitlab-ce` container is started with `Component::Gitlab.perform`
|
13
13
|
1. Then `Component::Specs.perform` is called, which starts a `gitlab/gitlab-qa`
|
14
14
|
container (from [`gitlab-org/gitlab-ce@qa/Dockerfile`][gitlab-dockerfile])
|
15
|
-
and pass it the instance-level scenario to run (e.g. `Test::Instance
|
15
|
+
and pass it the instance-level scenario to run (e.g. `Test::Instance` for
|
16
16
|
[`gitlab-org/gitlab-qa@lib/gitlab/qa/scenario/test/instance/image.rb`][instance-image]),
|
17
17
|
then the address of the live instance to be tested, and optional extra arguments.
|
18
18
|
1. Within the `gitlab/gitlab-qa` container, these arguments are passed to `bin/test` (since it's
|
@@ -20,7 +20,7 @@ For a visual architecture explanation, please read the
|
|
20
20
|
[`ENTRYPOINT` defined at `gitlab-org/gitlab-ce@qa/Dockerfile`][gitlab-dockerfile]),
|
21
21
|
and then to `bin/qa`.
|
22
22
|
1. `bin/qa` then calls `.launch!` on the fully qualified constant `QA::Scenario::` +
|
23
|
-
the scenario name, e.g. `QA::Scenario::Test::Instance
|
23
|
+
the scenario name, e.g. `QA::Scenario::Test::Instance`, and ultimately calls
|
24
24
|
[`.perform`][instance]
|
25
25
|
1. The `.perform` method [saves the instance address for later][instance], then sets up an
|
26
26
|
`RSpec::Core::Runner`, pass it the extra arguments,
|
@@ -48,7 +48,7 @@ This tests that a GitLab Docker container works as expected by running
|
|
48
48
|
instance-level tests against it.
|
49
49
|
|
50
50
|
To run tests against the GitLab containers, a GitLab QA (`gitlab/gitlab-qa`)
|
51
|
-
container is spun up and tests are run from it by running the `Test::Instance
|
51
|
+
container is spun up and tests are run from it by running the `Test::Instance`
|
52
52
|
scenario (located under
|
53
53
|
[`gitlab-org/gitlab-ce@qa/qa/scenario/test/instance.rb`][test-instance] in the
|
54
54
|
GitLab CE project).
|
@@ -216,7 +216,7 @@ against it.
|
|
216
216
|
|
217
217
|
To run tests against the GitLab instance, a GitLab QA (`gitlab/gitlab-qa`)
|
218
218
|
container is spun up and tests are run from it by running the
|
219
|
-
`Test::Instance
|
219
|
+
`Test::Instance` scenario (located under
|
220
220
|
[`gitlab-org/gitlab-ce@qa/qa/scenario/test/instance.rb`][test-instance] in the
|
221
221
|
in the GitLab CE project).
|
222
222
|
|
@@ -243,7 +243,7 @@ works as expected by running tests against it.
|
|
243
243
|
|
244
244
|
To run tests against the GitLab instance, a GitLab QA (`gitlab/gitlab-qa`)
|
245
245
|
container is spun up and tests are run from it by running the
|
246
|
-
`Test::Instance
|
246
|
+
`Test::Instance` scenario (located under
|
247
247
|
[`gitlab-org/gitlab-ce@qa/qa/scenario/test/instance.rb`][test-instance] in the
|
248
248
|
in the GitLab CE project).
|
249
249
|
|
@@ -10,7 +10,7 @@ module Gitlab
|
|
10
10
|
class Any < Scenario::Template
|
11
11
|
def perform(edition_and_tag, address, *rspec_args)
|
12
12
|
Component::Specs.perform do |specs|
|
13
|
-
specs.suite = 'Test::Instance
|
13
|
+
specs.suite = 'Test::Instance'
|
14
14
|
specs.release = Release.new(edition_and_tag)
|
15
15
|
specs.args = [address, *rspec_args]
|
16
16
|
end
|
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: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grzegorz Bizon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|