Skip to content

Commit 9dd0bdf

Browse files
authored
CloudFormation template for managing the project's AWS CodeBuild workflows (#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
1 parent 5928a6f commit 9dd0bdf

File tree

4 files changed

+460
-1
lines changed

4 files changed

+460
-1
lines changed

ci/README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## AWS CodeBuild Stack Setup
2+
3+
create or update the stack
4+
```
5+
aws cloudformation deploy --capabilities CAPABILITY_IAM --stack-name aws-lambda-cpp-ci --template-file codebuild.yml
6+
```
7+
8+
(optional) trigger docker build and docker push of the build environment images.
9+
A project to do this is pre-configured in the deployed stack.
10+
```
11+
aws cloudformation describe-stacks --stack-name aws-lambda-cpp-ci --query "Stacks[].Outputs[].OutputValue"
12+
# run command output from above, will look like:
13+
# aws codebuild start-build --project-name <value>
14+
```

0 commit comments

Comments
 (0)