gitlab-qa 8.1.0 → 8.2.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/.gitlab/ci/jobs/metrics.gitlab-ci.yml +49 -0
- data/.gitlab-ci.yml +1 -0
- data/Gemfile.lock +1 -1
- data/docs/what_tests_can_be_run.md +1 -0
- data/lib/gitlab/qa/runtime/env.rb +1 -0
- data/lib/gitlab/qa/runtime/omnibus_configurations/metrics.rb +20 -0
- data/lib/gitlab/qa/version.rb +1 -1
- data/scripts/generate-qa-jobs.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cc0b13405340964bb5e0a19cb21457d70543c5f3de8f023a31527b91feb8b0c
|
4
|
+
data.tar.gz: 64f23b12774640295fe5093a45b00e3d721266440b5bb359b3aad754adf0a4b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a65f92e629724d354ab3cf038367ffb1002d27b35b3a8e5add2e1c82c08a718e20c57bc59e11ad1cbb466aa25041a4f00c87882d3fce18b7b3f3337d2c93f329
|
7
|
+
data.tar.gz: 977e2feec2033cd0a3cc325025c149568edab4a62b47e5f37a2bcda9ef6f2ec09f2183d48be1129d2bd85caea4b0911f96a882de45f4414d04cab4f86a400a05
|
@@ -0,0 +1,49 @@
|
|
1
|
+
ce:metrics:
|
2
|
+
extends:
|
3
|
+
- .rules:ce-never-when-triggered-by-feature-flag-definition-change
|
4
|
+
- .test
|
5
|
+
- .high-capacity
|
6
|
+
- .ce-variables
|
7
|
+
- .rspec-report-opts
|
8
|
+
- .combined-gitlab-qa-options-script
|
9
|
+
variables:
|
10
|
+
GITLAB_QA_OPTIONS_COMBINED: "$GITLAB_QA_OPTIONS --omnibus-config metrics"
|
11
|
+
QA_RSPEC_TAGS: "--tag metrics"
|
12
|
+
|
13
|
+
ce:metrics-quarantine:
|
14
|
+
extends:
|
15
|
+
- .rules:ce-never-when-triggered-by-feature-flag-definition-change
|
16
|
+
- .test
|
17
|
+
- .high-capacity
|
18
|
+
- .ce-variables
|
19
|
+
- .quarantine
|
20
|
+
- .rspec-report-opts
|
21
|
+
- .combined-gitlab-qa-options-script
|
22
|
+
variables:
|
23
|
+
GITLAB_QA_OPTIONS_COMBINED: "$GITLAB_QA_OPTIONS --omnibus-config metrics"
|
24
|
+
QA_RSPEC_TAGS: "--tag metrics"
|
25
|
+
|
26
|
+
ee:metrics:
|
27
|
+
extends:
|
28
|
+
- .rules:ee-never-when-triggered-by-feature-flag-definition-change
|
29
|
+
- .test
|
30
|
+
- .high-capacity
|
31
|
+
- .ee-variables
|
32
|
+
- .rspec-report-opts
|
33
|
+
- .combined-gitlab-qa-options-script
|
34
|
+
variables:
|
35
|
+
GITLAB_QA_OPTIONS_COMBINED: "$GITLAB_QA_OPTIONS --omnibus-config metrics"
|
36
|
+
QA_RSPEC_TAGS: "--tag metrics"
|
37
|
+
|
38
|
+
ee:metrics-quarantine:
|
39
|
+
extends:
|
40
|
+
- .rules:ee-never-when-triggered-by-feature-flag-definition-change
|
41
|
+
- .test
|
42
|
+
- .high-capacity
|
43
|
+
- .ee-variables
|
44
|
+
- .quarantine
|
45
|
+
- .rspec-report-opts
|
46
|
+
- .combined-gitlab-qa-options-script
|
47
|
+
variables:
|
48
|
+
GITLAB_QA_OPTIONS_COMBINED: "$GITLAB_QA_OPTIONS --omnibus-config metrics"
|
49
|
+
QA_RSPEC_TAGS: "--tag quarantine --tag metrics"
|
data/.gitlab-ci.yml
CHANGED
@@ -105,6 +105,7 @@ generate-jobs:
|
|
105
105
|
- bundle exec bin/qa Test::Instance::All http://dummy.test --count-examples-only -- $QA_TESTS --tag can_use_large_setup
|
106
106
|
- bundle exec bin/qa Test::Instance::All http://dummy.test --count-examples-only -- $QA_TESTS --tag cloud_activation
|
107
107
|
- bundle exec bin/qa Test::Instance::All http://dummy.test --count-examples-only -- $QA_TESTS --tag object_storage
|
108
|
+
- bundle exec bin/qa Test::Instance::All http://dummy.test --count-examples-only -- $QA_TESTS --tag metrics
|
108
109
|
- cp -r no_of_examples $CI_PROJECT_DIR
|
109
110
|
|
110
111
|
# TOP_UPSTREAM_DEFAULT_BRANCH is the default branch name of the original project that triggered a pipeline in this project.
|
data/Gemfile.lock
CHANGED
@@ -84,6 +84,7 @@ All environment variables used by GitLab QA should be defined in [`lib/gitlab/qa
|
|
84
84
|
| `QA_INFLUXDB_TOKEN` |- | Influxdb token for test metrics reporting | No|
|
85
85
|
| `QA_RUN_TYPE` |- | QA run type like `staging-full`, `canary`, `production` etc. Used in test metrics reporting | No|
|
86
86
|
| `QA_VALIDATE_RESOURCE_REUSE` | `false` | Set to `true` to [validate resource reuse](https://docs.gitlab.com/ee/development/testing_guide/end_to_end/resources.html#reusable-resources) after a test suite | No |
|
87
|
+
| `QA_USE_PUBLIC_IP_API` | `false` | When performing Instance tests against a remote/pre-existing instance, use an API to detect the public API for requests coming from gitlab-qa. Used by tests that exercise IP-address restrictions and similar
|
87
88
|
| `GITHUB_USERNAME` |- | Username for authenticating with GitHub. | No|
|
88
89
|
| `GITHUB_PASSWORD` |- | Password for authenticating with GitHub. | No|
|
89
90
|
| `GITLAB_QA_LOOP_RUNNER_MINUTES` | `1` | Minutes to run and repeat a spec while using the '--loop' option; default value is 1 minute. | No|
|
@@ -43,6 +43,7 @@ module Gitlab
|
|
43
43
|
'QA_RUN_TYPE' => :qa_run_type,
|
44
44
|
'QA_SKIP_PULL' => :qa_skip_pull,
|
45
45
|
'QA_VALIDATE_RESOURCE_REUSE' => :qa_validate_resource_reuse,
|
46
|
+
'QA_USE_PUBLIC_IP_API' => :qa_use_public_ip_api,
|
46
47
|
'GITLAB_API_BASE' => :api_base,
|
47
48
|
'GITLAB_ADMIN_USERNAME' => :admin_username,
|
48
49
|
'GITLAB_ADMIN_PASSWORD' => :admin_password,
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Gitlab
|
4
|
+
module QA
|
5
|
+
module Runtime
|
6
|
+
module OmnibusConfigurations
|
7
|
+
class Metrics < Default
|
8
|
+
def configuration
|
9
|
+
<<~RUBY
|
10
|
+
puma['exporter_enabled'] = true
|
11
|
+
puma['exporter_port'] = 8083
|
12
|
+
sidekiq['metrics_enabled'] = true
|
13
|
+
sidekiq['listen_port'] = 8082
|
14
|
+
RUBY
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/gitlab/qa/version.rb
CHANGED
data/scripts/generate-qa-jobs.rb
CHANGED
@@ -48,6 +48,7 @@ class GenerateQAJobs
|
|
48
48
|
jobs.merge!(load_yml_contents('cloud_activation', should_automatically_run?('test_instance_all_cloud_activation')))
|
49
49
|
jobs.merge!(load_yml_contents('registry_with_cdn', should_automatically_run?('test_integration_registrywithcdn')))
|
50
50
|
jobs.merge!(load_yml_contents('staging'))
|
51
|
+
jobs.merge!(load_yml_contents('metrics', should_automatically_run?('test_instance_all_metrics')))
|
51
52
|
|
52
53
|
# Disabling geo jobs temporarily due to https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/774
|
53
54
|
# jobs.merge!(load_yml_contents('geo', should_automatically_run?('scenario_test_geo')))
|
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: 8.
|
4
|
+
version: 8.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitLab Quality
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|
@@ -251,6 +251,7 @@ files:
|
|
251
251
|
- ".gitlab/ci/jobs/ldap_no_tls.gitlab-ci.yml"
|
252
252
|
- ".gitlab/ci/jobs/ldap_tls.gitlab-ci.yml"
|
253
253
|
- ".gitlab/ci/jobs/mattermost.gitlab-ci.yml"
|
254
|
+
- ".gitlab/ci/jobs/metrics.gitlab-ci.yml"
|
254
255
|
- ".gitlab/ci/jobs/mtls.gitlab-ci.yml"
|
255
256
|
- ".gitlab/ci/jobs/object_storage.gitlab-ci.yml"
|
256
257
|
- ".gitlab/ci/jobs/object_storage_aws.gitlab-ci.yml"
|
@@ -357,6 +358,7 @@ files:
|
|
357
358
|
- lib/gitlab/qa/runtime/omnibus_configurations/decomposition_single_db.rb
|
358
359
|
- lib/gitlab/qa/runtime/omnibus_configurations/default.rb
|
359
360
|
- lib/gitlab/qa/runtime/omnibus_configurations/license_mode.rb
|
361
|
+
- lib/gitlab/qa/runtime/omnibus_configurations/metrics.rb
|
360
362
|
- lib/gitlab/qa/runtime/omnibus_configurations/object_storage.rb
|
361
363
|
- lib/gitlab/qa/runtime/omnibus_configurations/object_storage_aws.rb
|
362
364
|
- lib/gitlab/qa/runtime/omnibus_configurations/object_storage_gcs.rb
|