myplanetdigital / jenkins-inception

A Drupal continuous integration infrastructure in a box.
8 stars 4 forks source link

Chef run should create jenkins ssh keypair #27

Open patcon opened 11 years ago

patcon commented 11 years ago

The old jenkins cookbook used to do this automatically, but the new one is much less opinionated.

Currently, this rake task fails because there is no key to transfer:

bundle exec rake team:add_deploy_key

Can get around this until we fix it by running this after the team:update_jenkins task:

ssh github_username@ci.myproject.example.com
sudo -iujenkins bash
ssh-keygen -t rsa -C "jenkins@localhost"
# Accept all defaults. (blank/no passphrase)