Skip to content
Snippets Groups Projects

Add QA_CAN_TEST_GIT_PROTOCOL_V2

Merged Mark Lapierre requested to merge ml-add-git-protocol-v2-env-var into master
All threads resolved!
Files
2
+ 10
3
@@ -4,11 +4,11 @@ To run the `Test::Instance::Any` scenario against your local GDK, you'll need to
@@ -4,11 +4,11 @@ To run the `Test::Instance::Any` scenario against your local GDK, you'll need to
make a few changes to your `gdk/gitlab/config/gitlab.yml` file.
make a few changes to your `gdk/gitlab/config/gitlab.yml` file.
1. Retrieve your current local IP with `ifconfig`, e.g. `192.168.0.12`.
1. Retrieve your current local IP with `ifconfig`, e.g. `192.168.0.12`.
1. Edit `gdk/gitlab/config/gitlab.yml` and replace `host: localhost` with
1. Edit `gdk/gitlab/config/gitlab.yml` and replace `host: localhost` with
`host: 192.168.0.12`.
`host: 192.168.0.12`.
1. Also replace `ssh_host: localhost` (found under `gitlab_shell`) with
1. Also replace `ssh_host: localhost` (found under `gitlab_shell`) with
`ssh_host: 192.168.0.12`.
`ssh_host: 192.168.0.12`.
1. Enable the `sshd` service by uncommenting the relevant line in your
1. Enable the `sshd` service by uncommenting the relevant line in your
`Procfile`.
`Procfile`.
1. Edit `openssh/sshd_config` and set `ListenAddress` to `192.168.0.12`.
1. Edit `openssh/sshd_config` and set `ListenAddress` to `192.168.0.12`.
1. Restart your GDK
1. Restart your GDK
@@ -29,6 +29,13 @@ make a few changes to your `gdk/gitlab/config/gitlab.yml` file.
@@ -29,6 +29,13 @@ make a few changes to your `gdk/gitlab/config/gitlab.yml` file.
$ bin/qa Test::Instance::Any gitlab/gitlab-ce:your-custom-tag http://192.168.0.12:3000 -- qa/specs/features/repository/protected_branches_spec.rb:30
$ bin/qa Test::Instance::Any gitlab/gitlab-ce:your-custom-tag http://192.168.0.12:3000 -- qa/specs/features/repository/protected_branches_spec.rb:30
```
```
 
If you want to run tests that require Git protocol v2 you'll need to add the
 
following to `openssh/sshd_config`:
 
 
```
 
AcceptEnv GIT_PROTOCOL
 
```
 
## Run Geo QA tests against your Geo GDK setup
## Run Geo QA tests against your Geo GDK setup
Run from the `gdk-ee/gitlab/qa` directory with GDK primary and secondary running:
Run from the `gdk-ee/gitlab/qa` directory with GDK primary and secondary running:
Loading