From 07ab6e467e2d97bd14b5b77edab307f07282c1f5 Mon Sep 17 00:00:00 2001 From: Jens Eickmeyer Date: Tue, 29 Oct 2019 11:52:24 +0100 Subject: [PATCH] buildspec.yaml for testing with CodeBuild --- buildspec.yaml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index ef6aad8..cd68afb 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -18,16 +18,3 @@ phases: # Remove all dependencies not relevant for production - npm prune --production - cd .. - post_build: - commands: - # Copy Swagger file to S3 to be able to transform its content - # for "deploying" it to API Gateway - - aws s3 cp swagger.yaml s3://$S3_BUCKET/swagger.yaml - # Create and upload a deployment package - - aws cloudformation package --template-file sam-template.yaml --s3-bucket $S3_BUCKET --output-template-file sam-template-output.yaml - # Replace the placeholder S3_BUCKET with the specific value of the environment variable - - sed -i "s/S3_BUCKET/${S3_BUCKET}/g" config-*.json -artifacts: - files: - - sam-template-output.yaml - - config-*.json