ayush / eb-deploy Goto Github PK
View Code? Open in Web Editor NEWScript to deploy a war file to AWS Elastic Beanstalk.
License: MIT License
Script to deploy a war file to AWS Elastic Beanstalk.
License: MIT License
Thanks a lot for article and tool.
As far as I can see from script, it assumes that eb
is already installed in CI machine? How come? How it's being installed there?
hi,
tried this script but must be doing something wrong. here is the output:
using war file at bma-server.1007340.war...
rm: cannot remove `AWS-ElasticBeanstalk-CLI-2.6.0.zip': No such file or directory
fetching https://s3.amazonaws.com/elasticbeanstalk/cli/AWS-ElasticBeanstalk-CLI-2.6.0.zip
--2014-03-30 19:01:55-- https://s3.amazonaws.com/elasticbeanstalk/cli/AWS-ElasticBeanstalk-CLI-2.6.0.zip
Resolving s3.amazonaws.com (s3.amazonaws.com)... 205.251.242.196
Connecting to s3.amazonaws.com (s3.amazonaws.com)|205.251.242.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6987224 (6.7M) [application/x-zip-compressed]
Saving to: AWS-ElasticBeanstalk-CLI-2.6.0.zip
0% [ ] 0 --.-K/s
57% [=====================> ] 4,003,743 11.2MB/s
100%[======================================>] 6,987,224 14.0MB/s in 0.5s
2014-03-30 19:01:56 (14.0 MB/s) - AWS-ElasticBeanstalk-CLI-2.6.0.zip saved [6987224/6987224]
expanding AWS-ElasticBeanstalk-CLI-2.6.0.zip
prepping deployment dir...
Initialized empty Git repository in /home/rof/src/github.com/beepmeapp/bma-base/target-deployment/.git/
Attemping to connect to eb...
Warning. File "config" has incorrect access permission and can be accessed by other users.
Retrieving status of environment "bmaWeb-env".
Environment "bmaWeb-env" is not running.
Preparing Deployment Package...
unzip: cannot find or open bma-server.1007340.war, bma-server.1007340.war.zip or bma-server.1007340.war.ZIP.
Deploying. This may take a bit; please standby...
Counting objects: 5, done.
Delta compression using up to 32 threads.
Compressing objects: 25% (1/4)
Compressing objects: 50% (2/4)
Compressing objects: 75% (3/4)
Compressing objects: 100% (4/4)
Compressing objects: 100% (4/4), done.
Writing objects: 20% (1/5)
Writing objects: 40% (2/5)
Writing objects: 60% (3/5)
Writing objects: 80% (4/5)
Writing objects: 100% (5/5)
Writing objects: 100% (5/5), 691 bytes | 0 bytes/s, done.
Total 5 (delta 0), reused 0 (delta 0)
remote:
remote: error: Unable to deploy application version: No Environment found for EnvironmentName = 'bmaWeb-env'.�
... thats all folks!
Hi,
First of all thanks for the great script,
The script is working properly but one thing i need to modify is the version label of the uploaded war, currently it is renaming the build to something git-${a random number} , i need to provide a custom version label for build.
Hello, first of all I would like to thank you for the script :)
I've been using it for few months and everything worked fine until yesterday.
I think that the problem is in the git aws.push line. I'm getting this output:
Writing objects: 100% (131/131), 68.89 MiB | 10.01 MiB/s, done.
Total 131 (delta 2), reused 0 (delta 0)
remote: processing ...............................................
This processing thing lasts forever...
Do you have an idea what could be the problem?
Tnx.
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.