rawmind0 / rancher-goserver

Gocd server image based on rancher-jvm8
0 stars 4 forks source link

support for ssh key to access private git repos #3

Closed mrserverless closed 8 years ago

mrserverless commented 8 years ago

Hi @rawmind0, thanks for this very nice docker setup of goserver/goagent.

I've been trying to use your gocd catalog to access private repos. Based on the forums:

https://groups.google.com/forum/#!topic/go-cd/a4J_AvLRU8o https://groups.google.com/forum/#!topic/go-cd/WvhorUgBWCI

The solution seems to be either:

Do you think it's worthwhile to add this feature in your catalog (I noticed you are in the process of updating them)? What do you suggest would be the best solution? An extra field to your catalog for the SSH private key? Or somehow hook into the Rancher SSH certificate store?

This will apply to both the agent and server catalogs. I was about to try and make some changes, but thought I'd get in contact with you first to avoid duplicated work

mrserverless commented 8 years ago

was able to work around this by mounting a volume in goserver service like: /home/rancher/goserver/:/root which contained the necessary .ssh files