gitlab-qa 5.17.0 → 5.17.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 +4 -4
- data/.gitlab-ci.yml +1 -1
- data/docs/what_tests_can_be_run.md +20 -0
- data/lib/gitlab/qa/scenario/test/integration/praefect.rb +2 -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: d14680b847d514a92a3db02e62d17566d165c3aa2fa7772cbf4cdb5eb3746d6f
|
|
4
|
+
data.tar.gz: f8669ae124311588e59bd52f743b5aafb41a2f7ca40073f12eae28f860e7f54a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be1aa1c90f7bbfe3e9fab71640f14517d212d5dbfcd5d412e2576b1c6553ad445a2530088f9999fee9fa02cf3bc813f3ee23ae1f2474b2d48a4e2979710163c6
|
|
7
|
+
data.tar.gz: 138a8b071f801af2bf9db1bed412976ba29be624352bef902f97d5a041ecb6cb45e1e1e32373af6c17e47847900aef791fe3e7219a53736781035fa143425449
|
data/.gitlab-ci.yml
CHANGED
|
@@ -94,7 +94,7 @@ release:
|
|
|
94
94
|
- exe/gitlab-qa ${QA_SCENARIO:=Test::Instance::Image} ${RELEASE:=$DEFAULT_RELEASE} -- $QA_TESTS $QA_RSPEC_TAGS $RSPEC_REPORT_OPTS || test_run_exit_code=$?
|
|
95
95
|
- exe/gitlab-qa-report --update-screenshot-path "gitlab-qa-run-*/**/rspec-*.xml"
|
|
96
96
|
- export GITLAB_QA_ACCESS_TOKEN="$GITLAB_QA_PRODUCTION_ACCESS_TOKEN"
|
|
97
|
-
- if [ "$TOP_UPSTREAM_SOURCE_REF" == "master" ]; then exe/gitlab-qa-report --report-in-issues "gitlab-qa-run-*/**/rspec-*.xml" --project "$QA_TESTCASES_REPORTING_PROJECT"; fi
|
|
97
|
+
- if [ "$TOP_UPSTREAM_SOURCE_REF" == "master" ]; then $(exe/gitlab-qa-report --report-in-issues "gitlab-qa-run-*/**/rspec-*.xml" --project "$QA_TESTCASES_REPORTING_PROJECT") || true; fi
|
|
98
98
|
- exit $test_run_exit_code
|
|
99
99
|
|
|
100
100
|
.ce-qa:
|
|
@@ -240,6 +240,26 @@ $ gitlab-qa Test::Integration::Geo EE
|
|
|
240
240
|
|
|
241
241
|
[test-geo]: https://gitlab.com/gitlab-org/gitlab-ee/blob/master/qa/qa/ee/scenario/test/geo.rb
|
|
242
242
|
|
|
243
|
+
### `Test::Integration::GitalyCluster CE|EE|<full image address>`
|
|
244
|
+
|
|
245
|
+
This tests [Gitaly Cluster](https://docs.gitlab.com/ee/administration/gitaly/praefect.html),
|
|
246
|
+
a clustered configuration of the Gitaly repository storage service.
|
|
247
|
+
|
|
248
|
+
The scenario configures and starts several docker containers to
|
|
249
|
+
represent the [recommended minimum configuration](https://docs.gitlab.com/ee/administration/gitaly/praefect.html#requirements-for-configuring-a-gitaly-cluster)
|
|
250
|
+
of a Gitaly Cluster.
|
|
251
|
+
|
|
252
|
+
To run tests against the GitLab container, a GitLab QA (`gitlab/gitlab-qa`)
|
|
253
|
+
container is spun up and tests are run from it by running the
|
|
254
|
+
`Test::Integration::GitalyHA` scenario, which includes tests written
|
|
255
|
+
specifically to test Gitaly Cluster features.
|
|
256
|
+
|
|
257
|
+
Example:
|
|
258
|
+
|
|
259
|
+
```
|
|
260
|
+
$ gitlab-qa Test::Integration::GitalyCluster EE
|
|
261
|
+
```
|
|
262
|
+
|
|
243
263
|
### `Test::Integration::LDAPNoTLS CE|EE|<full image address>`
|
|
244
264
|
|
|
245
265
|
This tests that a GitLab instance works as expected with an external
|
|
@@ -65,6 +65,7 @@ module Gitlab
|
|
|
65
65
|
def omnibus_config_with_praefect
|
|
66
66
|
<<~OMNIBUS
|
|
67
67
|
gitaly['enable'] = true;
|
|
68
|
+
gitaly['listen_addr'] = '0.0.0.0:8075';
|
|
68
69
|
gitaly['auth_token'] = 'secret-token';
|
|
69
70
|
gitaly['storage'] = [
|
|
70
71
|
{
|
|
@@ -82,7 +83,7 @@ module Gitlab
|
|
|
82
83
|
praefect['virtual_storages'] = {
|
|
83
84
|
'default' => {
|
|
84
85
|
'praefect-gitaly-0' => {
|
|
85
|
-
'address' => '
|
|
86
|
+
'address' => 'tcp://localhost:8075',
|
|
86
87
|
'token' => 'secret-token',
|
|
87
88
|
'primary' => true
|
|
88
89
|
}
|
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.17.
|
|
4
|
+
version: 5.17.1
|
|
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-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|