AWS Automation Cookbook
上QQ阅读APP看书,第一时间看更新

Getting ready

Now, we will use these details to set up the CodeBuild configuration:

  • Source repository: AWS CodeCommit
    • Repository name: CB-NODEJS-Site
  • Build Environment: AWS CodeBuild
    • Environment image: Image Managed by AWS CodeBuild
    • OS: Ubuntu
    • Runtime: NodeJS
    • version: aws/codebuild/nodejs:4.3.2
    • Build specification: Use the buildspec.yml in the source code root directory
  • Artifacts: AWS S3
    • Artifacts type: Amazon S3
    • Artifacts Name: CB-Nodejs-BS
    • BucketName: awsstar-s3
    • Output files: **/*    (means all the files and folder after the build will be considered as the build output)