File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11branch-defaults :
2- 2-project-attachment :
3- environment : tc-project-api-v4-dev
42 dev :
53 ec2_keyname : topcoder-dev-vpc-app
64 environment : tc-project-api-v4-dev
@@ -9,15 +7,17 @@ branch-defaults:
97 ec2_keyname : topcoder-prod-vpc-app
108 environment : tc-project-api-v4-prod
119 group_suffix : null
12- release :
13- ec2_keyname : topcoder-qa-vpc-app
14- environment : tc-project-api-v4-dev
15- group_suffix : null
16- profile : tc-qa
10+ environment-defaults :
11+ tc-project-api-v4-dev :
12+ branch : dev
13+ repository : null
14+ tc-project-api-v4-prod :
15+ branch : master
16+ repository : null
1717global :
1818 application_name : tc-project-service
1919 default_ec2_keyname : topcoder-dev-vpc-app
20- default_platform : Docker 1.9.1
20+ default_platform : Docker 1.11.2
2121 default_region : us-east-1
2222 profile : null
2323 sc : git
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ export AWS_SECRET_ACCESS_KEY=$(eval "echo \$${ENV}_AWS_SECRET_ACCESS_KEY")
1414# eb deploy
1515eb init -r us-east-1 $SERVICE
1616EB_OUTPUT=" $( eb deploy -l $TAG -r us-east-1) "
17+
1718echo $EB_OUTPUT
18- if [[ $EB_OUTPUT =~ .* ERROR.* ]]
19- then
19+ if echo $EB_OUTPUT | grep -iq error; then
2020 exit 1
2121fi
2222exit 0
You can’t perform that action at this time.
0 commit comments