ey

AKA Ey Instance Tools

Development

Requirements:

bundler
gnupg
postgres and mysql servers

Then bundle everything up:

bundle

Configure your system:

cp spec/config-example.yml spec/config.yml

edit the database users
add amazon credentials to use for uploading test backups to S3

Testing

To run the specs:

bundle exec rake

To run a specifc spec:

bundle exec spec -f spec/ey_backup/cli_spec.rb

Running the bin files are easy too:

bin/ey-recipes

Releasing

gem release eygem.gemspec

gem bump eygem.gemspec

Bump the cloud_cookbooks version in dracul/resin:

cd ../dracul
edit lib/dracul.rb and bump the versions in the ey resin config
follow the instructions in the dracul readme from here to release a new dracul