QA tests for pull and push mirroring over SSH
Pull and push mirroring over SSH is currently very poorly tested in gitaly and gitlab-rails.
It would be good to have a couple of scenarios in gitlab-qa, for pull and push mirroring, using both password and SSH public-key authentication.
In these scenarios, we would:
- Set up two projects. One has data, one does not.
- Configure a pull (in the empty project) or push (in the with-data project) mirror in Project -> Settings -> Repository -> Mirroring
- Trigger "sync now" in the same place
- Wait for the with-data project's commits to appear in the empty project