andrewpuch / code_deploy_example Goto Github PK
View Code? Open in Web Editor NEWAs part of the AWS Tutorial Series YouTube channel here is the repository for the series Code Deploy.
As part of the AWS Tutorial Series YouTube channel here is the repository for the series Code Deploy.
Hi, this guide is great, but a bit broken on Ubuntu.
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!
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">
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.