How to run tests that depend on Gitaly in CI
Our test suite has all sorts of tests that poke in Git repositories. As we build out Gitaly, those interactions with repos during tests will have to pass through Gitaly.
In GDK Gitaly is now part of the application and we can assume it is available. So locally a test in gitlab-ce that makes RPC calls to Gitaly should work. But what about CI?
We cannot just start up a separate container with Gitaly the way we do with Postgres and Redis because for the time being, our test code and Gitaly need access to the same filesystem containing the test repositories.
Do we start a Gitaly process in each container in CI? How do we pick a Gitaly version, and compile it?