From ec7fbdd7accedeb327468a53b6bfb6310737315e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20J=C4=99drasiak?= <54309170+szdrasiak@users.noreply.github.com> Date: Wed, 30 Mar 2022 10:50:08 +0200 Subject: [PATCH] fix build scripts (#1234) --- README.md | 1 - backend/functions/image_resize/Makefile | 10 ++-------- backend/functions/worker/Makefile | 10 ++-------- 3 files changed, 4 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 1450497ee..caffd07b4 100644 --- a/README.md +++ b/README.md @@ -193,4 +193,3 @@ and enter `schema-cms-pipeline`. ### Debugging To see logs you can use [Cloud Watch](https://us-west-2.console.aws.amazon.com/cloudwatch/home) to monitor the logs for Lambda functions and the Django application. - diff --git a/backend/functions/image_resize/Makefile b/backend/functions/image_resize/Makefile index 7df894f65..acce8583f 100644 --- a/backend/functions/image_resize/Makefile +++ b/backend/functions/image_resize/Makefile @@ -10,11 +10,5 @@ pack: node_modules/.bin/sls package push-to-public: - aws s3 cp ./.serverless/main.zip s3://schema-cms-lamdas-code-eu-central-1/workers/resize-lambda-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/resize-lambda-latest.zip s3://schema-cms-lamdas-code-eu-north-1/workers/resize-lambda-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/resize-lambda-latest.zip s3://schema-cms-lamdas-code-eu-west-1/workers/resize-lambda-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/resize-lambda-latest.zip s3://schema-cms-lamdas-code-eu-west-2/workers/resize-lambda-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/resize-lambda-latest.zip s3://schema-cms-lamdas-code-us-east-1/workers/resize-lambda-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/resize-lambda-latest.zip s3://schema-cms-lamdas-code-us-east-2/workers/resize-lambda-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/resize-lambda-latest.zip s3://schema-cms-lamdas-code-us-west-1/workers/resize-lambda-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/resize-lambda-latest.zip s3://schema-cms-lamdas-code-us-west-2/workers/resize-lambda-latest.zip + aws s3 cp ./.serverless/main.zip s3://schema-cms-lamdas-code/workers/resize-lambda-latest.zip + diff --git a/backend/functions/worker/Makefile b/backend/functions/worker/Makefile index 022dcae51..7ae83529b 100644 --- a/backend/functions/worker/Makefile +++ b/backend/functions/worker/Makefile @@ -10,11 +10,5 @@ pack: node_modules/.bin/sls package push-to-public: - aws s3 cp ./.serverless/main.zip s3://schema-cms-lamdas-code-eu-central-1/workers/processing-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/processing-latest.zip s3://schema-cms-lamdas-code-eu-north-1/workers/processing-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/processing-latest.zip s3://schema-cms-lamdas-code-eu-west-1/workers/processing-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/processing-latest.zip s3://schema-cms-lamdas-code-eu-west-2/workers/processing-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/processing-latest.zip s3://schema-cms-lamdas-code-us-east-1/workers/processing-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/processing-latest.zip s3://schema-cms-lamdas-code-us-east-2/workers/processing-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/processing-latest.zip s3://schema-cms-lamdas-code-us-west-1/workers/processing-latest.zip - aws s3 cp s3://schema-cms-lamdas-code-eu-central-1/workers/processing-latest.zip s3://schema-cms-lamdas-code-us-west-2/workers/processing-latest.zip + aws s3 cp ./.serverless/main.zip s3://schema-cms-lamdas-code/workers/processing-latest.zip +