Skip to content

Commit

Permalink
fix build scripts (#1234)
Browse files Browse the repository at this point in the history
  • Loading branch information
szdrasiak-apptension authored Mar 30, 2022
1 parent ba85863 commit ec7fbdd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
10 changes: 2 additions & 8 deletions backend/functions/image_resize/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

10 changes: 2 additions & 8 deletions backend/functions/worker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ec7fbdd

Please sign in to comment.