diff options
author | Sean McGivern <sean@gitlab.com> | 2021-05-19 18:14:05 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2021-05-20 16:19:17 +0000 |
commit | 2600bf7ac3b70e7df0e164087241bfda0b73ea8f (patch) | |
tree | a340747a59851134feff42a5a2ff9276f7a02306 /README.md | |
parent | b13bc6e5141ce5a45469c8ab0aa888badcedd9b5 (diff) | |
download | gitlab-shell-2600bf7ac3b70e7df0e164087241bfda0b73ea8f.tar.gz |
Set up a test Gitaly server in CI and provide a docker-compose file
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -60,6 +60,20 @@ Run both test and verify (the default Makefile target): bundle install make validate +### Gitaly + +Some tests need a Gitaly server. The +[`docker-compose.yml`](./docker-compose.yml) file will run Gitaly on +port 8075. To tell the tests where Gitaly is, set +`GITALY_CONNECTION_INFO`: + + export GITALY_CONNECTION_INFO='{"address": "tcp://localhost:8075", "storage": "default"}' + make test + +If no `GITALY_CONNECTION_INFO` is set, the test suite will still run, but any +tests requiring Gitaly will be skipped. They will always run in the CI +environment. + ## Git LFS remark Starting with GitLab 8.12, GitLab supports Git LFS authentication through SSH. |