what-is-quality / aws-codedeploy-agent

Host Agent for AWS CodeDeploy
https://aws.amazon.com/codedeploy
Apache License 2.0
2 stars 0 forks source link

AWS CodeDeploy Agent

Code Climate Build Status Coverage Status

Build Steps

git clone https://github.com/aws/aws-codedeploy-agent.git
gem install bundler
cd aws-codedeploy-agent
bundle install
rake clean && rake

Starting up the CodeDeploy Agent Locally for manual testing

bin/codedeploy-agent start

To stop it:

bin/codedeploy-agent stop

Integration Test

Please do the build steps mentioned above before running the integration test.

The integration test creates the following

It terminates the test ec2 instance and deletes the CodeDeploy application at the end of each test run. It also terminates any test ec2 instances before starting up the test.

Create your default aws credentials file in the default location (~/.aws/credentials on linux/mac and %USERPROFILE%.awscredentials on windows). Add your AWS access key, secret key, and optionally your session token there. The access key should have permission to create the above mentioned resources. You can also change the default region. To run the integration test execute

rake test-integration