Skip to content

Commit

Permalink
CloudFormation template for managing the project's AWS CodeBuild work…
Browse files Browse the repository at this point in the history
…flows (awslabs#159)

* CloudFormation template to model the AWS Code Build resources

to help maintainers with adding/modifying the CI workflows

also adds helper script `ci/update-images.sh` for re-building and re-uploading the `ci/docker/*` images

* fix dockerfile name in update-images
  • Loading branch information
bmoffatt authored Aug 27, 2022
1 parent 5928a6f commit 9dd0bdf
Show file tree
Hide file tree
Showing 4 changed files with 460 additions and 1 deletion.
14 changes: 14 additions & 0 deletions ci/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## AWS CodeBuild Stack Setup

create or update the stack
```
aws cloudformation deploy --capabilities CAPABILITY_IAM --stack-name aws-lambda-cpp-ci --template-file codebuild.yml
```

(optional) trigger docker build and docker push of the build environment images.
A project to do this is pre-configured in the deployed stack.
```
aws cloudformation describe-stacks --stack-name aws-lambda-cpp-ci --query "Stacks[].Outputs[].OutputValue"
# run command output from above, will look like:
# aws codebuild start-build --project-name <value>
```
Loading

0 comments on commit 9dd0bdf

Please sign in to comment.