ey-scp¶ ↑
Provides a CLI to quickly and painlessly deploy configuration files to multiple instances on EngineYard
Installation¶ ↑
-
Run
$ gem install glennr-ey-scp
Or with bundler
gem 'glennr-ey-scp'
-
Make sure that you have your public key registered with EY.
Usage¶ ↑
-
Run
ey login
from your project directory.
-
Use
ey-scp
from any directory with the following syntax:ey-scp -e ENVIRONMENT [OPTIONS] LOCAL_SOURCE_FILE REMOTE_DESTINATION
e.g.
ey-scp -e production --app-servers ~/local/project/config/foo.yml /remote/project/path/config
Specifying target instances¶ ↑
Option | Uploads to instances with roles of —— | ———————————- –app-servers | solo, app_master, app –app-master | solo, app_master –db-servers | solo, db_master, db_slave –db-master | solo, db_master –db-slaves | solo, db_slave –util-servers | solo, util
Contributing¶ ↑
Right now, we could really use someone to refactor the code so that it's less scripty/hackish.
-
Fork it
-
Create your feature branch (
git checkout -b my-new-feature
) -
Commit your changes (
git commit -am 'Add some feature'
) -
Push to the branch (
git push origin my-new-feature
) -
Create new Pull Request