Commit bc544f43 authored by Evan Read's avatar Evan Read

Merge branch 'local_feature_update_developer_guide_gitaly' into 'master'

Expand the documentation around gitlab tests with local gitaly changes

See merge request gitlab-org/gitlab!47773
parents b19a6b8a b222b7fa
...@@ -191,6 +191,10 @@ If you want to run tests locally against a modified version of Gitaly you ...@@ -191,6 +191,10 @@ If you want to run tests locally against a modified version of Gitaly you
can replace `tmp/tests/gitaly` with a symlink. This is much faster can replace `tmp/tests/gitaly` with a symlink. This is much faster
because it avoids a Gitaly re-install each time you run `rspec`. because it avoids a Gitaly re-install each time you run `rspec`.
Make sure this directory contains the files `config.toml` and `praefect.config.toml`.
You can copy them from `config.toml.example` and `config.praefect.toml.example` respectively.
After copying, make sure to edit them so everything points to the correct paths.
```shell ```shell
rm -rf tmp/tests/gitaly rm -rf tmp/tests/gitaly
ln -s /path/to/gitaly tmp/tests/gitaly ln -s /path/to/gitaly tmp/tests/gitaly
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment