CodeBuild Cheat Sheet
CodeBuild is a fully-managed build pipeline to create temporary servers to build and test code Compile source code, runs unit tests, and produces artifacts that are ready to deploy. Provides prepackaged build environments or you can build your own environments as a Docker container Uses a Buildspec.yaml to provide build instructions. This file is stored in the root of your project. Version 0.1 - runs each build command in a separate instance Version 0.2 - runs all build commands in the same instance Commands run through different phases:
- Install only for installing packages in the build env
- pre_build commands that run before building
- build commands that you run during the build
- post_build commands you run after the build