Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 1.71 KB

File metadata and controls

50 lines (43 loc) · 1.71 KB

Week 9 — CI/CD with CodePipeline, CodeBuild and CodeDeploy

The following information outlines tasks that I've completed for Week 9 of the BootCamp.

The objective is to automate code deployment whenever a pull request is made on the repo.

Created a Buildspec.yml file. Ref

Setup CodeBuild

  • Launched CodeBuild
    Note: Encountered a "GetAuthorizationToken" error which wasn't observed in the video. I overcame it with some research and added those permissions to our CodeBuild Role which resolved the error.
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "VisualEditor0",
      "Effect": "Allow",
      "Action": [
        "ecr:BatchCheckLayerAvailability",
        "ecr:CompleteLayerUpload",
        "ecr:GetAuthorizationToken",
        "ecr:InitiateLayerUpload",
        "ecr:PutImage",
        "ecr:UploadLayerPart",
        "ecr:BatchGetImage",
        "ecr:GetDownloadUrlForLayer"
      ],
      "Resource": "*"
    }
  ]
}

CodeBuild

Setup CodePipeline

CodePipeline

CodePipeline Expanded