Codebuild
Last updated
Last updated
Input: Github Link or zipped file in S3
Output: Build artifacts or upload Docker image to ECR
Very versatile and simple
basically running bash commands with some sugar for uploading and downloading and sdks api for kicking off in different languages
Kick off some scripts(async?) from APIs
Build some code from github/s3 and output it to an S3
To build Docker images, you need to allow privileged access or use the AWS Ubuntu Docker runtime which lets u use the Docker daemon for building
Automagically unzips the file if your source is a zip
Artifacts are searched for based on the base dir
buildspec.yml
'**/*'
represents all files recursively.
my-subdirectory/*
represents all files in a subdirectory named my-subdirectory.
my-subdirectory/**/*
represents all files recursively starting from a subdirectory named my-subdirectory.
The IAM role for the codebuild needs access policy S3FullAccess