File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
branch-defaults :
2
- 2-project-attachment :
3
- environment : tc-project-api-v4-dev
4
2
dev :
5
3
ec2_keyname : topcoder-dev-vpc-app
6
4
environment : tc-project-api-v4-dev
@@ -9,15 +7,17 @@ branch-defaults:
9
7
ec2_keyname : topcoder-prod-vpc-app
10
8
environment : tc-project-api-v4-prod
11
9
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
17
17
global :
18
18
application_name : tc-project-service
19
19
default_ec2_keyname : topcoder-dev-vpc-app
20
- default_platform : Docker 1.9.1
20
+ default_platform : Docker 1.11.2
21
21
default_region : us-east-1
22
22
profile : null
23
23
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")
14
14
# eb deploy
15
15
eb init -r us-east-1 $SERVICE
16
16
EB_OUTPUT=" $( eb deploy -l $TAG -r us-east-1) "
17
+
17
18
echo $EB_OUTPUT
18
- if [[ $EB_OUTPUT =~ .* ERROR.* ]]
19
- then
19
+ if echo $EB_OUTPUT | grep -iq error; then
20
20
exit 1
21
21
fi
22
22
exit 0
You can’t perform that action at this time.
0 commit comments