Skip to content

Codebuild CI

overview

This guide will help you set up a continuous integration system that scales linearly through GitHub and AWS Codebuild.

Prerequisites

Setup

  1. Setup Codebuild CI system:1
  2. Go to Home
  3. Click Add Project
  4. Click launch-config0
  5. Type branch name: codebuild-setup
  6. Add project name: codebuild-setup-101
  7. Click Add Project
  8. Wait and verify the codebuild-setup project completes (approx. 30 mins)

Connect

  1. Connect GitHub repository to Codebuild CI system:23
  2. Go to Home
  3. Click Add Project
  4. Click launch-config0
  5. Type branch name: codebuild-add
  6. Add project name: mycode-101
  7. Click Add Project

(Repeat as needed for additional repositories)


  1. Handles all the plumbing for API Gateway, Lambda function(s), and Codebuild. ↩

  2. Creates webhook and generates SSH key per repository. Connect one repository to one Codebuild project. ↩

  3. When committing code, make sure to include buildspec.yml in the root repository directory for Codebuild to use. ↩