engineyard / engineyard-jenkins

This project is deprecated in favour of eycloud-app-jenkins.
https://github.com/engineyard/eycloud-app-jenkins/
28 stars 6 forks source link

deploy key documentation #15

Closed tlianza closed 12 years ago

tlianza commented 12 years ago

It looks like the deploy key specified in the EY UI isn't used, rather the id_rsa.pub file is what jenkins uses to pull the source from github.

However, when I add that key on github, and test the connection via ssh, I get this:

Enter passphrase for key '/home/deploy/.ssh/id_rsa'

What's the recommended process for getting jenkins to talk to github?

tlianza commented 12 years ago

I wound up resolving this issue by adding an ssh config file to use engineyard's built-in deploy keys when talking to github.com, which I think is a good solution to this issue. Ex. http://stackoverflow.com/a/3225880/26624 might be worth bundling into the recipe. EngineYard creates this key at ~/.ssh/[appname]-deploy-key