gitlab-qa 5.1.1 → 5.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.yml +29 -0
- data/docs/what_tests_can_be_run.md +2 -0
- data/lib/gitlab/qa/runtime/env.rb +3 -1
- data/lib/gitlab/qa/scenario/test/integration/praefect.rb +1 -0
- 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: 2f147da355d03473a605dacab05054698ebf98b19f4af618d93bff89cbe09260
|
|
4
|
+
data.tar.gz: 5f674b1e20a26f2bb6de4588ce02f58450e820701f099372018382bc24783702
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ccac752f52ac37f38cbf295ce1b2dd4d92811545a0c3dc244b9930b1140317985523a39cdfaa45c25df129e82973e19abf98420011a941d01c43ed02355c4f3d
|
|
7
|
+
data.tar.gz: e4be9776a75aba05c1ba40eff3de70e18616856f8c3f72ae5850e1fffb86ddc11f8b72c04d83c205b2088e5ce31459b3e2b7bc7c127810609a757fcdf726bc5c
|
data/.gitlab-ci.yml
CHANGED
|
@@ -19,6 +19,7 @@ variables:
|
|
|
19
19
|
DOCKER_HOST: tcp://docker:2375
|
|
20
20
|
QA_ARTIFACTS_DIR: $CI_PROJECT_DIR
|
|
21
21
|
QA_CAN_TEST_GIT_PROTOCOL_V2: "true"
|
|
22
|
+
QA_CAN_TEST_PRAEFECT: "false"
|
|
22
23
|
QA_TESTCASES_REPORTING_PROJECT: "gitlab-org/quality/testcases"
|
|
23
24
|
|
|
24
25
|
cache:
|
|
@@ -778,6 +779,20 @@ ce:praefect:
|
|
|
778
779
|
parallel: 5
|
|
779
780
|
variables:
|
|
780
781
|
QA_SCENARIO: "Test::Integration::Praefect"
|
|
782
|
+
QA_CAN_TEST_PRAEFECT: "true"
|
|
783
|
+
|
|
784
|
+
ce:praefect-quarantine:
|
|
785
|
+
extends:
|
|
786
|
+
- .test
|
|
787
|
+
- .high-capacity
|
|
788
|
+
- .ce-qa
|
|
789
|
+
- .quarantine
|
|
790
|
+
- .knapsack-variables
|
|
791
|
+
- .rspec-report-opts
|
|
792
|
+
parallel: 5
|
|
793
|
+
variables:
|
|
794
|
+
QA_SCENARIO: "Test::Integration::Praefect"
|
|
795
|
+
QA_CAN_TEST_PRAEFECT: "true"
|
|
781
796
|
|
|
782
797
|
ee:praefect:
|
|
783
798
|
extends:
|
|
@@ -789,6 +804,20 @@ ee:praefect:
|
|
|
789
804
|
parallel: 5
|
|
790
805
|
variables:
|
|
791
806
|
QA_SCENARIO: "Test::Integration::Praefect"
|
|
807
|
+
QA_CAN_TEST_PRAEFECT: "true"
|
|
808
|
+
|
|
809
|
+
ee:praefect-quarantine:
|
|
810
|
+
extends:
|
|
811
|
+
- .test
|
|
812
|
+
- .high-capacity
|
|
813
|
+
- .ee-qa
|
|
814
|
+
- .knapsack-variables
|
|
815
|
+
- .quarantine
|
|
816
|
+
- .rspec-report-opts
|
|
817
|
+
parallel: 5
|
|
818
|
+
variables:
|
|
819
|
+
QA_SCENARIO: "Test::Integration::Praefect"
|
|
820
|
+
QA_CAN_TEST_PRAEFECT: "true"
|
|
792
821
|
|
|
793
822
|
ce:smtp:
|
|
794
823
|
extends:
|
|
@@ -62,11 +62,13 @@ For more details on the internals, please read the
|
|
|
62
62
|
* `DOCKER_HOST` - Docker host to run tests against (default: `http://localhost`)
|
|
63
63
|
* `CHROME_HEADLESS` - when running locally, set to `false` to allow Chrome tests to be visible - watch your tests being run
|
|
64
64
|
* `QA_ADDITIONAL_REPOSITORY_STORAGE` - the name of additional, non-default storage to be used with tests tagged `repository_storage`, run via the `Test::Instance::RepositoryStorage` scenario
|
|
65
|
+
* `QA_PRAEFECT_REPOSITORY_STORAGE` - the name of repository storage using Praefect.
|
|
65
66
|
* `QA_COOKIES` - optionally set to "cookie1=value;cookie2=value" in order to add a cookie to every request. This can be used to set the canary cookie by setting it to "gitlab_canary=true"
|
|
66
67
|
* `QA_DEBUG` - set to `true` to verbosely log page object actions. Note: if enabled be aware that sensitive data might be logged. If an input element has a QA selector with `password` in the name, data entered into the input element will be masked. If the element doesn't have `password` in its name it won't be masked.
|
|
67
68
|
* `QA_LOG_PATH` - path to output debug logging to. If not set logging will be output to STDOUT
|
|
68
69
|
* `QA_CAN_TEST_GIT_PROTOCOL_V2` - set to `false` to skip tests that require Git protocol v2 if your environment doesn't support it.
|
|
69
70
|
* `QA_CAN_TEST_ADMIN_FEATURES` - set to `false` to skip tests that require admin access.
|
|
71
|
+
* `QA_CAN_TEST_PRAEFECT` - set to `false` to skip tests that require Praefect to be running.
|
|
70
72
|
* `QA_DISABLE_RSPEC_RETRY` - set to `true` to turn off retrying tests on failure.
|
|
71
73
|
* `QA_SIMULATE_SLOW_CONNECTION` - set to `true` to configure Chrome's network settings to simulate a slow connection.
|
|
72
74
|
* `QA_SLOW_CONNECTION_LATENCY_MS` - the additional latency (in ms) of the simulated slow connection (default 2000 ms).
|
|
@@ -36,10 +36,13 @@ module Gitlab
|
|
|
36
36
|
'GCLOUD_REGION' => :gcloud_region,
|
|
37
37
|
'SIGNUP_DISABLED' => :signup_disabled,
|
|
38
38
|
'QA_ADDITIONAL_REPOSITORY_STORAGE' => :qa_additional_repository_storage,
|
|
39
|
+
'QA_PRAEFECT_REPOSITORY_STORAGE' => :qa_praefect_repository_storage,
|
|
39
40
|
'QA_COOKIES' => :qa_cookie,
|
|
40
41
|
'QA_DEBUG' => :qa_debug,
|
|
41
42
|
'QA_LOG_PATH' => :qa_log_path,
|
|
43
|
+
'QA_CAN_TEST_ADMIN_FEATURES' => :qa_can_test_admin_features,
|
|
42
44
|
'QA_CAN_TEST_GIT_PROTOCOL_V2' => :qa_can_test_git_protocol_v2,
|
|
45
|
+
'QA_CAN_TEST_PRAEFECT' => :qa_can_test_praefect,
|
|
43
46
|
'QA_DISABLE_RSPEC_RETRY' => :qa_disable_rspec_retry,
|
|
44
47
|
'QA_SIMULATE_SLOW_CONNECTION' => :qa_simulate_slow_connection,
|
|
45
48
|
'QA_SLOW_CONNECTION_LATENCY_MS' => :qa_slow_connection_latency_ms,
|
|
@@ -70,7 +73,6 @@ module Gitlab
|
|
|
70
73
|
'GITLAB_QA_1P_SECRET' => :gitlab_qa_1p_secret,
|
|
71
74
|
'GITLAB_QA_1P_GITHUB_UUID' => :gitlab_qa_1p_github_uuid,
|
|
72
75
|
'GITLAB_QA_LOOP_RUNNER_MINUTES' => :gitlab_qa_loop_runner_minutes,
|
|
73
|
-
'QA_CAN_TEST_ADMIN_FEATURES' => :qa_can_test_admin_features,
|
|
74
76
|
'MAILHOG_HOSTNAME' => :mailhog_hostname,
|
|
75
77
|
'SLACK_QA_CHANNEL' => :slack_qa_channel,
|
|
76
78
|
'CI_SLACK_WEBHOOK_URL' => :ci_slack_webhook_url,
|
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.
|
|
4
|
+
version: 5.2.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-03-
|
|
11
|
+
date: 2020-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|