Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

300Geeks/aws-codedeploy-agent

Open more actions menu
 
 

Repository files navigation

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

Integration Test

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

The integration test creates the following

  • An IAM role "codedeploy-agent-integ-test-deployment-role" if it doesn't exist
  • An IAM role "codedeploy-agent-integ-test-instance-role" if it doesn't exist
  • A CodeDeploy application
  • A CodeDeploy deployment group
  • An EC2 key pair "codedeploy-agent-integ-test-key" if it doesn't exist
  • An EC2 security group "codedeploy-agent-integ-test-sg" if it doesn't exist
  • An EC2 instance tagged with key "codedeploy-agent-integ-test-instance"
  • A CodeDeploy deployment on that ec2 instance.

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.

Update the features/AwsCredentials.yml file with AWS access key and secret key. The access key should have permission to create the above mentioned resources. You can also change the default region and ami id if you want. To run the integration test execute

rake test-integration

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Ruby 98.9%
  • Other 1.1%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.