Giter VIP home page Giter VIP logo

aws-codedeploy-agent's Introduction

AWS CodeDeploy Agent

Code Climate Build Status Coverage Status

Latest Release: 1.4.0

Release Notes

Build Steps

git clone https://github.com/aws/aws-codedeploy-agent.git
gem install bundler -v 1.3.5
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

  • 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
  • An IAM user "codedeploy-agent-integ-test-instance-user" if it doesn't exist. (Access key will be recreated.)
  • A CodeDeploy application
  • Startup the codedeploy agent on your host
  • A CodeDeploy deployment group with your host in it
  • A CodeDeploy deployment to your host.
  • Local Deployments to your host.

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. Note that temporary credentials won't work.

Sample format of the credentials file:

[default]
aws_access_key_id=<keyID>
aws_secret_access_key=<key>

To run the integration test execute:

rake test-integration

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.