gitlab-qa 6.5.0 → 6.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +38 -0
- data/docs/what_tests_can_be_run.md +17 -0
- data/lib/gitlab/qa.rb +1 -0
- data/lib/gitlab/qa/scenario/test/integration/actioncable.rb +36 -0
- data/lib/gitlab/qa/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5774bb53da5791580f00788fede32864529d0221748c86fa62e76a74a73e1fcd
|
4
|
+
data.tar.gz: f94d8a02877d5f15988357cc208b5acde672822881a9d92c9a3cda4c2d4e588b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d853b45ec499807f46691b719283544d7c3260e24ccec1fa0632e55e885201f38bac15ebb147672ea949fdaf830c81f8a4a827c46c2fb135a32d40b445cfaf8
|
7
|
+
data.tar.gz: a66c9779a3f128e0dc2226b4a9306b9be33567b6cc21ec1e9fab3ef0d245b8f2b20c29ec9a71b9b264e558489e2cb0749e57fd08992b2776b40709c0a0317805
|
data/.gitlab-ci.yml
CHANGED
@@ -729,6 +729,44 @@ ee:packages-quarantine:
|
|
729
729
|
variables:
|
730
730
|
QA_SCENARIO: "Test::Integration::Packages"
|
731
731
|
|
732
|
+
ce:actioncable:
|
733
|
+
extends:
|
734
|
+
- .test
|
735
|
+
- .high-capacity
|
736
|
+
- .ce-qa
|
737
|
+
- .rspec-report-opts
|
738
|
+
variables:
|
739
|
+
QA_SCENARIO: "Test::Integration::Actioncable"
|
740
|
+
|
741
|
+
ce:actioncable-quarantine:
|
742
|
+
extends:
|
743
|
+
- .test
|
744
|
+
- .high-capacity
|
745
|
+
- .ce-qa
|
746
|
+
- .quarantine
|
747
|
+
- .rspec-report-opts
|
748
|
+
variables:
|
749
|
+
QA_SCENARIO: "Test::Integration::Actioncable"
|
750
|
+
|
751
|
+
ee:actioncable:
|
752
|
+
extends:
|
753
|
+
- .test
|
754
|
+
- .high-capacity
|
755
|
+
- .ee-qa
|
756
|
+
- .rspec-report-opts
|
757
|
+
variables:
|
758
|
+
QA_SCENARIO: "Test::Integration::Actioncable"
|
759
|
+
|
760
|
+
ee:actioncable-quarantine:
|
761
|
+
extends:
|
762
|
+
- .test
|
763
|
+
- .high-capacity
|
764
|
+
- .ee-qa
|
765
|
+
- .quarantine
|
766
|
+
- .rspec-report-opts
|
767
|
+
variables:
|
768
|
+
QA_SCENARIO: "Test::Integration::Actioncable"
|
769
|
+
|
732
770
|
ee:elasticsearch:
|
733
771
|
extends:
|
734
772
|
- .test
|
@@ -545,6 +545,23 @@ $ export EE_LICENSE=$(cat /path/to/GitLab.gitlab_license)
|
|
545
545
|
$ gitlab-qa Test::Integration::Jira EE
|
546
546
|
```
|
547
547
|
|
548
|
+
### `Test::Integration::Actioncable CE|EE|<full image address>`
|
549
|
+
|
550
|
+
This tests the real-time assignees feature by setting
|
551
|
+
`actioncable['enable'] = true` in the Omnibus configuration
|
552
|
+
before starting the GitLab container.
|
553
|
+
|
554
|
+
To run tests against the GitLab container, a GitLab QA (`gitlab/gitlab-qa`)
|
555
|
+
container is spun up and tests are run from it by running the
|
556
|
+
`Test::Instance::All` scenario with the `--tag actioncable` RSpec parameter,
|
557
|
+
which runs only the tests with `:actioncable` metadata.
|
558
|
+
|
559
|
+
Example:
|
560
|
+
|
561
|
+
```
|
562
|
+
$ gitlab-qa Test::Integration::Actioncable CE
|
563
|
+
```
|
564
|
+
|
548
565
|
### `Test::Instance::Any CE|EE|<full image address>:nightly|latest|any_tag http://your.instance.gitlab`
|
549
566
|
|
550
567
|
This tests that a live GitLab instance works as expected by running tests
|
data/lib/gitlab/qa.rb
CHANGED
@@ -39,6 +39,7 @@ module Gitlab
|
|
39
39
|
end
|
40
40
|
|
41
41
|
module Integration
|
42
|
+
autoload :Actioncable, 'gitlab/qa/scenario/test/integration/actioncable'
|
42
43
|
autoload :Geo, 'gitlab/qa/scenario/test/integration/geo'
|
43
44
|
autoload :LDAP, 'gitlab/qa/scenario/test/integration/ldap'
|
44
45
|
autoload :LDAPNoTLS, 'gitlab/qa/scenario/test/integration/ldap_no_tls'
|
@@ -0,0 +1,36 @@
|
|
1
|
+
module Gitlab
|
2
|
+
module QA
|
3
|
+
module Scenario
|
4
|
+
module Test
|
5
|
+
module Integration
|
6
|
+
class Actioncable < Scenario::Template
|
7
|
+
def perform(release, *rspec_args)
|
8
|
+
Component::Gitlab.perform do |gitlab|
|
9
|
+
gitlab.release = QA::Release.new(release)
|
10
|
+
gitlab.name = 'gitlab-actioncable'
|
11
|
+
gitlab.network = 'test'
|
12
|
+
gitlab.omnibus_config = <<~OMNIBUS
|
13
|
+
actioncable['enable'] = true;
|
14
|
+
OMNIBUS
|
15
|
+
|
16
|
+
gitlab.instance do
|
17
|
+
puts "Running actioncable specs!"
|
18
|
+
|
19
|
+
rspec_args << "--" unless rspec_args.include?('--')
|
20
|
+
rspec_args << %w[--tag actioncable]
|
21
|
+
|
22
|
+
Component::Specs.perform do |specs|
|
23
|
+
specs.suite = 'Test::Instance::All'
|
24
|
+
specs.release = gitlab.release
|
25
|
+
specs.network = gitlab.network
|
26
|
+
specs.args = [gitlab.address, *rspec_args]
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
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: 6.
|
4
|
+
version: 6.6.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: 2020-10-
|
11
|
+
date: 2020-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|
@@ -288,6 +288,7 @@ files:
|
|
288
288
|
- lib/gitlab/qa/scenario/test/instance/smoke.rb
|
289
289
|
- lib/gitlab/qa/scenario/test/instance/staging.rb
|
290
290
|
- lib/gitlab/qa/scenario/test/instance/staging_geo.rb
|
291
|
+
- lib/gitlab/qa/scenario/test/integration/actioncable.rb
|
291
292
|
- lib/gitlab/qa/scenario/test/integration/elasticsearch.rb
|
292
293
|
- lib/gitlab/qa/scenario/test/integration/geo.rb
|
293
294
|
- lib/gitlab/qa/scenario/test/integration/gitaly_cluster.rb
|