From ac21029f9f398b04b0741a20a6d1e24f9732a6f4 Mon Sep 17 00:00:00 2001 From: Lydia Wang Date: Fri, 26 Nov 2021 15:13:31 +1100 Subject: [PATCH] Fix lambda-sqs-worker-cdk template (#695) Co-authored-by: Sam Chung Co-authored-by: Ryan Ling --- .changeset/stupid-pets-explain.md | 5 +++++ template/lambda-sqs-worker-cdk/docker-compose.yml | 1 + template/lambda-sqs-worker-cdk/package.json | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/stupid-pets-explain.md diff --git a/.changeset/stupid-pets-explain.md b/.changeset/stupid-pets-explain.md new file mode 100644 index 000000000..2d8325ca6 --- /dev/null +++ b/.changeset/stupid-pets-explain.md @@ -0,0 +1,5 @@ +--- +"skuba": patch +--- + +template/lambda-sqs-worker-cdk: Fix docker-compose volume mount and deploy output diff --git a/template/lambda-sqs-worker-cdk/docker-compose.yml b/template/lambda-sqs-worker-cdk/docker-compose.yml index 7efbd5a83..858662a30 100644 --- a/template/lambda-sqs-worker-cdk/docker-compose.yml +++ b/template/lambda-sqs-worker-cdk/docker-compose.yml @@ -23,3 +23,4 @@ services: - /usr/bin/buildkite-agent:/usr/bin/buildkite-agent # Mount cached dependencies. - /workdir/node_modules + - /workdir/lib/node_modules diff --git a/template/lambda-sqs-worker-cdk/package.json b/template/lambda-sqs-worker-cdk/package.json index 5404672ff..409c89101 100644 --- a/template/lambda-sqs-worker-cdk/package.json +++ b/template/lambda-sqs-worker-cdk/package.json @@ -22,7 +22,7 @@ "private": true, "scripts": { "build": "skuba build", - "deploy": "cdk deploy appStack --require-approval never --context stage=${ENVIRONMENT}", + "deploy": "cdk deploy appStack --require-approval never --context stage=${ENVIRONMENT} --progress events", "format": "skuba format", "lint": "skuba lint", "package": "yarn install --ignore-optional --ignore-scripts --modules-folder ./lib/node_modules --non-interactive --offline --production",