On 12/03/2015 12:36 PM, Gianluca Padovani wrote: > Hi to all, > I'm using gitlab and gitlab CI in a installation on premise. I have some > projects and I would deploy the some rails application with capistrano. > I use the docker strategy for the CI runner but I need the ssh key to > access my servers but I don't know how to pass my private SSH key to > docker taht execute capistrano. I have a similar problem because I need > to download a private repository from github before to deploy. > > I read something about it and probably the correct is solution is to put > the private SSH key in a private variable of the projects, and then copy > that in .ssh/id_rsa file, is it the correct way? > > thanks and bye > >
Hi! I'm currently working on an MR which improves documentation on using GitLab CI with various services [0]. It's not yet merged but you can use the particular doc about SSH keys [1]. Try it and if you have any problem understanding the workflow please leave a comment in the MR :) [0]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1917 [1]: https://gitlab.com/gitlab-org/gitlab-ce/blob/d816c94ede135da86b70d340b565151e6275376b/doc/ci/ssh_keys/README.md -- Blog: http://axilleas.me -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/566164C4.1020303%40gmail.com. For more options, visit https://groups.google.com/d/optout.