Git Product home page Git Product logo

code_deploy_example's People

Contributors

andrewpuch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

code_deploy_example's Issues

Broken on Ubuntu

Hi, this guide is great, but a bit broken on Ubuntu.

  1. The ruby path in install is static. I needed to change it to my local path
  2. problems installing the deb package. I had to manually download it and execute the installation

I got:

sudo ./install auto
I, [2015-06-02T08:59:20.962270 #8138]  INFO -- : Starting update check.
I, [2015-06-02T08:59:20.962547 #8138]  INFO -- : Attempting to automatically detect supported package manager type for system...
I, [2015-06-02T08:59:20.967925 #8138]  INFO -- : Checking AWS_REGION environment variable for region information...
I, [2015-06-02T08:59:20.968048 #8138]  INFO -- : Checking EC2 metadata service for region information...
I, [2015-06-02T08:59:20.986586 #8138]  INFO -- : Downloading version file from bucket aws-codedeploy-eu-west-1 and key latest/VERSION...
I, [2015-06-02T08:59:21.018990 #8138]  INFO -- : Downloading package from bucket aws-codedeploy-eu-west-1 and key releases/codedeploy-agent_1.0-1.719_all.deb...
I, [2015-06-02T08:59:21.019229 #8138]  INFO -- : Downloading from uri https://s3-eu-west-1.amazonaws.com/aws-codedeploy-eu-west-1/releases/codedeploy-agent_1.0-1.719_all.deb...
I, [2015-06-02T08:59:21.096089 #8138]  INFO -- : Executing `/usr/bin/gdebi -n -o Dpkg::Options::="--force-confdef" -o Dpg::Options::="--force-conffold" /tmp/codedeploy-agent_1.0-1.719_all.deb`...
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
Fetched 0 B in 0s (0 B/s)                                                                                                                                                           
dpkg: error: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
Error in function: 
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)
Error during install: 'installArchives() failed'E, [2015-06-02T08:59:23.414849 #8138] ERROR -- : Error installing /tmp/codedeploy-agent_1.0-1.719_all.deb.

Also it should more clearly state what access keys to enter. Whats the purpose of the access keys. Download from S3 only?

Thanks!

Installation fails

I get this error message when I follow the instructions here.

download: s3://aws-codedeploy-us-west-2/latest/install to ./install
root@ip-172-31-25-3:/home/ubuntu# chmod +x ./install
root@ip-172-31-25-3:/home/ubuntu# sed -i "s/sleep(.*)/sleep(10)/" install
root@ip-172-31-25-3:/home/ubuntu# ./install auto
I, [2017-08-12T06:47:30.897859 #5492]  INFO -- : Starting Ruby version check.
I, [2017-08-12T06:47:30.898047 #5492]  INFO -- : Starting update check.
I, [2017-08-12T06:47:30.898132 #5492]  INFO -- : Attempting to automatically detect supported package manager type for system...
E, [2017-08-12T06:47:30.902883 #5492] ERROR -- : Detected both supported rpm and deb package managers. Please specify which package type to use manually.
root@ip-172-31-25-3:/home/ubuntu# ./install deb
I, [2017-08-12T06:47:37.491221 #5502]  INFO -- : Starting Ruby version check.
I, [2017-08-12T06:47:37.491448 #5502]  INFO -- : Starting update check.
I, [2017-08-12T06:47:37.491518 #5502]  INFO -- : Checking AWS_REGION environment variable for region information...
I, [2017-08-12T06:47:37.491597 #5502]  INFO -- : Checking EC2 metadata service for region information...
dpkg-query: package 'codedeploy-agent' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
I, [2017-08-12T06:47:37.550679 #5502]  INFO -- : Running version No running version
I, [2017-08-12T06:47:37.550789 #5502]  INFO -- : Downloading version file from bucket aws-codedeploy-us-west-2 and key latest/VERSION...
I, [2017-08-12T06:47:37.630398 #5502]  INFO -- : Downloading version file from bucket aws-codedeploy-us-west-2 and key latest/VERSION...
I, [2017-08-12T06:47:37.652241 #5502]  INFO -- : Downloading package from bucket aws-codedeploy-us-west-2 and key releases/codedeploy-agent_1.0-1.1106_all.deb...
I, [2017-08-12T06:47:37.730107 #5502]  INFO -- : Executing `/usr/bin/gdebi -n -o Dpkg::Options::=--force-confdef -o Dkpg::Options::=--force-confold /tmp/codedeploy-agent_1.0-1.1106_all.tmp-20170812-5502-azhjhb.deb`...
E, [2017-08-12T06:47:37.730963 #5502] ERROR -- : Error installing /tmp/codedeploy-agent_1.0-1.1106_all.tmp-20170812-5502-azhjhb.deb.```
<img width="1280" alt="screen shot 2017-08-10 at 8 21 11 am" src="https://user-images.githubusercontent.com/5252828/29238701-5f0deb3a-7f32-11e7-96a1-52be15c3c207.png">

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.