gitlab-qa 7.27.0 → 7.27.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab/ci/jobs/ci_decomposition.gitlab-ci.yml +25 -0
- data/docs/configuring_omnibus.md +4 -4
- data/docs/what_tests_can_be_run.md +8 -0
- data/lib/gitlab/qa/component/elasticsearch.rb +1 -0
- data/lib/gitlab/qa/version.rb +1 -1
- data/scripts/generate-qa-jobs.rb +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d08b53ffc75578165d38ea6c735882e0fdf9059ece88c1aa91ecdac67df8fa1d
|
4
|
+
data.tar.gz: 35091d5ab69c1a88a21ffe839c73d7fc23744517e28f4d6d193c92a7c1bb3252
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56119714620bfa55ed88e9136d4e5a35e72606996c6bab5e0a613ea16e14653dc50055a54cc4302d26dbd01ceb614ebbf85bca1d8237ffc5f402e36586e6e37e
|
7
|
+
data.tar.gz: 47ba7c6b6603cc8982b5fb5a54732550d13c40eea076f0fd46054a104093c2c97016d3e84a468e073e925ed1633f83085414667740230a2b6511ce2d3836b9c8
|
@@ -0,0 +1,25 @@
|
|
1
|
+
ce:ci_decomposition:
|
2
|
+
extends:
|
3
|
+
- .rules:ce-never-when-triggered-by-feature-flag-definition-change
|
4
|
+
- .rules:ce-never-when-qa-tests-specified
|
5
|
+
- .test
|
6
|
+
- .high-capacity
|
7
|
+
- .ce-variables
|
8
|
+
- .rspec-report-opts
|
9
|
+
- .combined-gitlab-qa-options-script
|
10
|
+
parallel: 5
|
11
|
+
variables:
|
12
|
+
GITLAB_QA_OPTIONS_COMBINED: "$GITLAB_QA_OPTIONS --omnibus-config ci_decomposition"
|
13
|
+
|
14
|
+
ee:ci_decomposition:
|
15
|
+
extends:
|
16
|
+
- .rules:ee-never-when-triggered-by-feature-flag-definition-change
|
17
|
+
- .rules:ee-never-when-qa-tests-specified
|
18
|
+
- .test
|
19
|
+
- .ee-variables
|
20
|
+
- .high-capacity
|
21
|
+
- .rspec-report-opts
|
22
|
+
- .combined-gitlab-qa-options-script
|
23
|
+
parallel: 5
|
24
|
+
variables:
|
25
|
+
GITLAB_QA_OPTIONS_COMBINED: "$GITLAB_QA_OPTIONS --omnibus-config ci_decomposition"
|
data/docs/configuring_omnibus.md
CHANGED
@@ -106,7 +106,7 @@ Multiple Configurators may be specified and the order will be preserved in which
|
|
106
106
|
|
107
107
|
E.g., given the arguments:
|
108
108
|
|
109
|
-
```
|
109
|
+
```ruby
|
110
110
|
exe/gitlab-qa Test::Instance::Image EE --omnibus-config packages,registry
|
111
111
|
# or
|
112
112
|
exe/gitlab-qa Test::Instance::Image EE --omnibus-config packages --omnibus-config registry
|
@@ -136,7 +136,7 @@ Component::Gitlab.perform do |primary|
|
|
136
136
|
primary.omnibus_configuration << <<~OMNIBUS
|
137
137
|
geo_primary_role['enable'] = true
|
138
138
|
OMNIBUS
|
139
|
-
|
139
|
+
|
140
140
|
primary.instance do
|
141
141
|
Component::Gitlab.perform do |secondary|
|
142
142
|
secondary.omnibus_configuration << <<~OMNIBUS
|
@@ -181,10 +181,10 @@ one Omnibus configuration that might be unneccesary or Invalid for the Second In
|
|
181
181
|
|
182
182
|
1. `Runtime::OmnibusConfigurations::Default`
|
183
183
|
1. `Runtime::OmnibusConfigurations::[A,B,...]` where `A` and `B` are Configurators specified through the positional arguments `--a --b`
|
184
|
-
1. Custom written `Scenario::Template` (such as `Test::
|
184
|
+
1. Custom written `Scenario::Template` (such as `Test::Integration::Geo`)
|
185
185
|
1. `lib/gitlab/qa/component/gitlab.rb`
|
186
186
|
|
187
|
-
From top to bottom, configurations will be loaded and any configurations that are
|
187
|
+
From top to bottom, configurations will be loaded and any configurations that are superseded, will take precedence over the one before it, and so on.
|
188
188
|
|
189
189
|
### Executing arbitrary shell commands within the GitLab Instance
|
190
190
|
|
@@ -944,6 +944,14 @@ This scenario is a composition of two orchestrated scenarios. It tests the conta
|
|
944
944
|
GITLAB_TLS_CERTIFICATE=$(cat /path/to/certificate.crt) gitlab-qa Test::Integration::RegistryTLS EE --omnibus-config object_storage_aws
|
945
945
|
```
|
946
946
|
|
947
|
+
### Test::Instance::Image EE --omnibus-config ci_decomposition
|
948
|
+
|
949
|
+
This scenario is to run tests against GitLab instance with [decomposed database](https://gitlab.com/groups/gitlab-org/-/epics/6160) on a single Postgres:
|
950
|
+
|
951
|
+
```ruby
|
952
|
+
gitlab-qa Test::Instance::Image EE --omnibus-config ci_decomposition
|
953
|
+
```
|
954
|
+
|
947
955
|
### `Test::Instance::Geo EE|<full image address>:nightly|latest|any_tag http://geo-primary.gitlab http://geo-secondary.gitlab`
|
948
956
|
|
949
957
|
This scenario will run tests tagged `:geo` against a live Geo deployment, by spinning up a GitLab QA (`gitlab/gitlab-qa`)
|
data/lib/gitlab/qa/version.rb
CHANGED
data/scripts/generate-qa-jobs.rb
CHANGED
@@ -15,6 +15,7 @@ class GenerateQAJobs
|
|
15
15
|
jobs.concat(load_yml_contents('custom_parallel'))
|
16
16
|
jobs.concat(load_yml_contents('instance')) if should_run?('test_instance_all')
|
17
17
|
jobs.concat(load_yml_contents('relative_url')) if should_run?('test_instance_all')
|
18
|
+
jobs.concat(load_yml_contents('ci_decomposition')) if should_run?('test_instance_all')
|
18
19
|
jobs.concat(load_yml_contents('repository_storage')) if should_run?('test_instance_all_repository_storage')
|
19
20
|
jobs.concat(load_yml_contents('omnibus_image'))
|
20
21
|
jobs.concat(load_yml_contents('update')) if should_run?('test_instance_all')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-qa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.27.
|
4
|
+
version: 7.27.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitLab Quality
|
@@ -220,6 +220,7 @@ files:
|
|
220
220
|
- ".gitlab-ci.yml"
|
221
221
|
- ".gitlab/ci/jobs/actioncable.gitlab-ci.yml"
|
222
222
|
- ".gitlab/ci/jobs/base.gitlab-ci.yml"
|
223
|
+
- ".gitlab/ci/jobs/ci_decomposition.gitlab-ci.yml"
|
223
224
|
- ".gitlab/ci/jobs/cloud_activation.gitlab-ci.yml"
|
224
225
|
- ".gitlab/ci/jobs/custom_parallel.gitlab-ci.yml"
|
225
226
|
- ".gitlab/ci/jobs/ee_previous_to_ce_update.gitlab-ci.yml"
|