Skip to content

Commit edd9f0c

Browse files
authored
Merge pull request #52 from gridsmartercities/codebuild_2
upgraded to aws standard image 2.0
2 parents 49b08a0 + 53e167c commit edd9f0c

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

buildspec-dev.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ env:
88

99
phases:
1010
install:
11+
runtime-versions:
12+
python: 3.7
13+
nodejs: 10
1114
commands:
1215
# Add execution permissions to build tools
1316
- chmod +x ./tools/build/*.sh

buildspec-stg.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ env:
88

99
phases:
1010
install:
11+
runtime-versions:
12+
python: 3.7
13+
nodejs: 10
1114
commands:
1215
# Add execution permissions to the build tools
1316
- chmod +x ./tools/build/*.sh

setup-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Resources:
7777
Environment:
7878
Type: LINUX_CONTAINER
7979
ComputeType: BUILD_GENERAL1_SMALL
80-
Image: aws/codebuild/standard:1.0
80+
Image: aws/codebuild/standard:2.0
8181
Source:
8282
Auth:
8383
Type: OAUTH
@@ -100,7 +100,7 @@ Resources:
100100
Environment:
101101
Type: LINUX_CONTAINER
102102
ComputeType: BUILD_GENERAL1_SMALL
103-
Image: aws/codebuild/standard:1.0
103+
Image: aws/codebuild/standard:2.0
104104
Source:
105105
Auth:
106106
Type: OAUTH

tools/build/update-commit-status.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ set -e
4343
# Create a Success or Failure commit status
4444
if [[ $cmd_result -ne 0 ]]; then
4545
create_commit_status "failure" "job failed"
46-
exit 0
46+
exit 1
4747
fi
4848

4949
create_commit_status "success" "job succeeded"

0 commit comments

Comments
 (0)