Codebuild CI
The guide will set up continous integration system that scales linearly through Github and AWS Codebuild.
Prerequisites
- Github Integration (required)
- Dockerhub Integration (optional)
- Slack Integration (optional)
Setup
- Setup Codebuild CI system 1
- Go to Home ->
- Click Add Project
- Click launch-config0
- Type branch name >> codebuild-setup
- Add project name >> codebuild-setup-101
- Click Add Project
- Wait and verify the codebuild-setup project completes (30 mins)
Connect
- Connect Github repository to Codebuild CI system 23
- Go to Home ->
- Click Add Project
- Click launch-config0
- Type branch name >> codebuild-add
- Add project name >> mycode-101
- Click Add Project
(rinse and repeat)
-
Handles all the plumbing for API Gateway, Lambda function(s), and Codebuild. ↩
-
- Creates webhook and generates ssh key per repository
- Connect one repository to one Codebuild project
- Rinse and repeat
-
When committing code, make sure to include buildspec.yml in the root repository directory for Codebuild to use. ↩