Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Commit fcc1218

Browse files
committed
Merge branch 'hotfix-issue-6' into dev
2 parents 9766b30 + 527bf52 commit fcc1218

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

workshop/content/buildpipe/buildspec/_index.en.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ version: 0.2
2121
phases:
2222
install:
2323
runtime-versions:
24-
nodejs: 10
24+
nodejs: 12
2525
commands:
2626
# Install packages or any pre-reqs in this phase.
27+
# Upgrading SAM CLI to latest version
28+
- pip3 install --upgrade aws-sam-cli
29+
- sam --version
30+
# Installing project dependencies
2731
- cd hello-world
2832
- npm install
2933

workshop/content/buildpipe/pipeline/_index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The source stage is the first step of any pipeline and it points to your source
3838

3939
The build phase uses AWS CodeBuild as the build provider. But CodePipeline supports other providers like Jenkins, TeamCity or CloudBees. CodeBuild is a great option because you only pay for the time when your build is running, which makes it very cost effective.
4040

41-
A CodeBuild project has information about the build environment. A build environment represents a combination of operating system (Linux or Windows), compute size (Small, Medium, Large) and a Docker image where the build runs. You can bring your own Docker image or [use the managed images](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) provided by the service. In this case, we are using the managed image for Amazon Linux 2: aws/codebuild/amazonlinux2-x86_64-standard:1.0.
41+
A CodeBuild project has information about the build environment. A build environment represents a combination of operating system (Linux or Windows), compute size (Small, Medium, Large) and a Docker image where the build runs. You can bring your own Docker image or [use the managed images](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) provided by the service. In this case, we are using the managed image for Amazon Linux 2: aws/codebuild/amazonlinux2-x86_64-standard:2.0.
4242

4343
![BuildStage](/images/screenshot-pipeline-yaml-build.png)
4444

workshop/static/assets/pipeline.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ Resources:
251251
Resource:
252252
- !Sub arn:${AWS::Partition}:codecommit:${AWS::Region}:${AWS::AccountId}:${CodeCommitRepoName}
253253
- !Ref AWS::NoValue
254+
254255
BuildProject:
255256
Type: AWS::CodeBuild::Project
256257
Properties:
@@ -261,7 +262,7 @@ Resources:
261262
Type: CODEPIPELINE
262263
Environment:
263264
ComputeType: !Ref ComputeType
264-
Image: 'aws/codebuild/amazonlinux2-x86_64-standard:1.0'
265+
Image: 'aws/codebuild/amazonlinux2-x86_64-standard:2.0'
265266
Type: !Ref EnvironmentType
266267
EnvironmentVariables:
267268
- Name: PACKAGE_BUCKET
63.7 KB
Loading
14.7 KB
Loading

0 commit comments

Comments
 (0)