gitlab-qa 2.7.2 → 2.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/run_qa_against_gdk.md +7 -4
- data/docs/what_tests_can_be_run.md +1 -0
- data/lib/gitlab/qa/runtime/env.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: f0e668db418c2898f97674ac4d384fbb9dbf98ae00fa7b1fd8813a21c70119b1
|
4
|
+
data.tar.gz: ddee7d1abbb129b84ac39d8dd70e78865d694fc59cc2fa4cd56d23f8db93a94d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fac3397d2a8d66055f56f6241cb066fa38a9bf41e63cb9b7bcf904026aa525e3601b75a06810f8ee247991cd852a65996d79243d7c55715bc2ac153b73ef504d
|
7
|
+
data.tar.gz: c4e6f54cd40685dff86016fb1bfbbd75ce4125d09d9522eaad48e7fd18311b07bc0070e0861edf42a318b5516550ff3575cd164152bfe4e2f63ce0b6ce4897ac
|
data/docs/run_qa_against_gdk.md
CHANGED
@@ -4,13 +4,15 @@ To run the `Test::Instance::Any` scenario against your local GDK, you'll need to
|
|
4
4
|
make a few changes to your `gdk/gitlab/config/gitlab.yml` file.
|
5
5
|
|
6
6
|
1. Retrieve your current local IP with `ifconfig`, e.g. `192.168.0.12`.
|
7
|
-
1. Edit `gdk/gitlab/config/gitlab.yml` and replace `host: localhost` with
|
7
|
+
1. Edit `gdk/gitlab/config/gitlab.yml` and replace `host: localhost` with
|
8
8
|
`host: 192.168.0.12`.
|
9
|
-
1. Also replace `ssh_host: localhost` (found under `gitlab_shell`) with
|
9
|
+
1. Also replace `ssh_host: localhost` (found under `gitlab_shell`) with
|
10
10
|
`ssh_host: 192.168.0.12`.
|
11
|
-
1. Enable the `sshd` service by uncommenting the relevant line in your
|
11
|
+
1. Enable the `sshd` service by uncommenting the relevant line in your
|
12
12
|
`Procfile`.
|
13
|
-
1. Edit `openssh/sshd_config` and
|
13
|
+
1. Edit `openssh/sshd_config` and
|
14
|
+
- set `ListenAddress` to `192.168.0.12`
|
15
|
+
- add `AcceptEnv GIT_PROTOCOL` to allow use of [Git protocol v2][Git protocol]
|
14
16
|
1. Restart your GDK
|
15
17
|
1. Run the QA scenario as follows:
|
16
18
|
|
@@ -141,6 +143,7 @@ You should be able to use your navigator and point it to `http://gitlab-primary.
|
|
141
143
|
[Docker Networking]: https://docs.docker.com/docker-for-mac/networking/#known-limitations-use-cases-and-workarounds
|
142
144
|
[Docker bridge issue]: https://github.com/moby/moby/issues/22753#issuecomment-253534261
|
143
145
|
[dnsdock]: https://github.com/aacebedo/dnsdock
|
146
|
+
[Git protocol]: https://docs.gitlab.com/ee/administration/git_protocol.html#doc-nav
|
144
147
|
|
145
148
|
----
|
146
149
|
|
@@ -44,6 +44,7 @@ For more details on the internals, please read the
|
|
44
44
|
* `CHROME_HEADLESS` - when running locally, set to `false` to allow Chrome tests to be visible - watch your tests being run
|
45
45
|
* `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.
|
46
46
|
* `QA_LOG_PATH` - path to output debug logging to. If not set logging will be output to STDOUT
|
47
|
+
* `QA_CAN_TEST_GIT_PROTOCOL_V2` - set to `false` to skip tests that require Git protocol v2 if your environment doesn't support it.
|
47
48
|
|
48
49
|
### `Test::Instance::Image CE|EE|<full image address>`
|
49
50
|
|
@@ -29,7 +29,8 @@ module Gitlab
|
|
29
29
|
'GCLOUD_ZONE' => :gcloud_zone,
|
30
30
|
'SIGNUP_DISABLED' => :signup_disabled,
|
31
31
|
'QA_DEBUG' => :qa_debug,
|
32
|
-
'QA_LOG_PATH' => :qa_log_path
|
32
|
+
'QA_LOG_PATH' => :qa_log_path,
|
33
|
+
'QA_CAN_TEST_GIT_PROTOCOL_V2' => :qa_can_test_git_protocol_v2
|
33
34
|
}.freeze
|
34
35
|
|
35
36
|
ENV_VARIABLES.each_value do |accessor|
|
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: 2.7.
|
4
|
+
version: 2.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grzegorz Bizon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|