Skip to content

Commit

Permalink
Merge 0b255a0 into e65977a
Browse files Browse the repository at this point in the history
  • Loading branch information
fogfish committed Sep 16, 2019
2 parents e65977a + 0b255a0 commit e0cfd2c
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .codebuild.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"image": "code-build/serverless",
"approver": ["fogfish"]
}
35 changes: 35 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
##
## see https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html
version: 0.2

phases:
install:
commands:
- |-
echo "==> install"
# - npm install
# - (cd cloud; npm install)

pre_build:
commands:
- |-
echo "==> pre build"
build:
commands:
- |-
echo "==> build"
# - npm run build

post_build:
commands:
- |-
echo "==> post build"
- |-
case $BUILD in
CleanUp)
# (cd cloud; VSN=${BUILD_RELEASE} cdk destroy -f)
;;
*)
# (cd cloud; VSN=${BUILD_RELEASE} cdk deploy)
;;
esac

0 comments on commit e0cfd2c

Please sign in to comment.