Goal: include SSH authentication tests in the FECRU integration tests (part of CI).
FishEye can be configured to pass in a SSH private key to the SSH command that git and hg use to access remote repositories that are secured using SSH.
We need to test whether the interaction between git/hg, ssh and FishEye are all going as planned. The goal is not to test ssh, but to verify that the chain of input/output streams between the different processes is working as expected. (e.g. FishEye not choking on ssh warnings that are echoed in gits output)
To do this, we want to set up a git and hg repository on an external server that is accessible from the Bamboo builds and secure the repositories with ssh. This comes down to:
External server
- setting up a user on the server.
- configuring ssh to allow access for a given SSH key pair.
- installing git and hg on the server.
- setting up a small git repository on the server.
- setting up a small hg repository on the server.
Integration test
- write a git integration test with an ssh server configuration that points to the external server
- write a hg integration test with an ssh server configuration that points to the external server
- is detailed by
-
FE-3203 DVCS: Backend support for ssh authentication
- Closed