Creating a Build Project
Learn how to get started with creating a build project using AWS CodeBuild.
Overview
A build is a process to convert files and other dependencies into an executable that can be used by an end user. When we use AWS CodeBuild for continuous integration, we need to create a build project which is a combination of the following:
- Our initial project settings, which include our build environment
- The place where we fetch our source code from
- The
buildspec.yml
file containing the script to configure our build and manage artifacts
Press + to interact
Creating a build project
The create-project
command is used to create a build project.
Using AWS CLI, we can create a build project. The initial step is to bootstrap a template JSON file that will hold all our configuration details. We can do this by running the below command:
aws codebuild create-project --region us-east-1 --generate-cli-skeleton > file.json
Note: The
region
is set asus-east-1
. Therefore, your resources will be created in that region. You can ...