QA tests for pull and push mirroring over SSH
Per gitaly!959 (diffs, comment 115392278)
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.
Pull mirroring is EE-only, push mirroring is getting SSH authentication in %11.5 or %11.6.
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
Edited by Nick Thomas