"gem install virtualmonkey"
"git clone http://github.com/jeremyd/virtualmonkey" "gem install jeweler rspec" "rake check_dependencies" <- Install any gems listed. "rake install"
You need to setup ~/.fog and ~/.rest_connection with configuration options to match your RightScale account (for using the RightScale API) and your AWS credentials (for SimpleDB and S3). Just run the monkey, and it will tell you how to setup your missing credentials.
The command line client is "monkey". It lives in your gem binary path. See the help pages for usage: "monkey create --help" "monkey run --help" "monkey destroy --help"
Uses rest_connection library from http://github.com/jeremyd/rest_connection.git
Uses Fog library from http://github.com/geemus/fog.git
(todo)
Shared Resources like DNS_IDs and EIPs will be shared among clients using conditional PUT operations to SimpleDB. SharedDns
Using the RS API we create a set of all the 'basic variations' a deployment can have. Basic variations currently are generated using permutations of Images, Clouds, and Instance Types.
handles running grinder tests and collecting and posting results to S3
-
These are a set of specialty mixins per Deployment type for cluster management of a single deployment.
-
This keeps our grinder features from getting cluttered. Each step definition needs an equivalent DeploymentRunner method.
-
‘One-off’ variations are setup by the DeploymentRunner(s) and will be applied during a test run.
ex: OPT_PHP_VHOST_PORT, SLAVE_DNS_ID
-
VirtualMonkey::MysqlRunner, VirtualMonkey::FeAppRunner, VirtualMonkey::EBSRunner, VirtualMonkey::Mysql, VirtualMonkey::EBS
-
Grinder Features live in GEM_HOME/features
-
These features can be run by hand -or- by GrinderMonk via “monkey run” command.
-
The features have one ENVIRONMENT variable that is used to pass in the Deployment nickname. To run by hand:
-
“grinder features/php.feature DEPLOYMENT=testing_deploy_x86_64”
1) setup one-off variations using the VirtualMonkey::DeploymentRunner . 2) exercise a cluster deployment using the VirtualMonkey::DeploymentRunner.
-
Fork the project.
-
Make your feature addition or bug fix.
-
Commit, do not mess with rakefile, version, or history.
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
-
Send me a pull request. Bonus points for topic branches.
Copyright © 2010 Jeremy Deininger. See LICENSE for details.