Skip to content

Instantly share code, notes, and snippets.

View mattgibson's full-sized avatar

Matt Gibson mattgibson

View GitHub Profile
@mattgibson
mattgibson / tddium.rake
Created November 15, 2012 12:11 — forked from wkrsz/gist:2761871
Tddium post-build-hook to deploy to EngineYard
# Setup:
# tddium config:add suite EY_API_TOKEN xxxxxxxx
# (take EY_API_TOKEN value from ~/.eyrc)
# tddium config:add suite EY_DEPLOY_KEY yyyyyyy
# (EY_DEPLOY_KEY value is Base64-encoded content of your ~/.ssh/id_rsa OR any other ssh key authorised for a given EY env)
# To get a new key: $ ssh-keygen -t rsa
# To base 64 encode it without line breaks and copy to the clipboard: $ openssl base64 < ey-key | tr -d '\n' | pbcopy
# Now add the public key to Engine Yard via the GUI, * AND APPLY CHANGES TO THE ENVIRONMENT *
#
# Be aware that the command line tddium thing will connect to the remote suite based on the name of the local