From 12963d8b47f166a71e8c5124da0b0f340685b5ec Mon Sep 17 00:00:00 2001 From: Steve Nolen Date: Wed, 10 Feb 2021 16:55:33 -0500 Subject: [PATCH] add make target to push serverless-custom-file to s3. fetch from that location --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6f28136..255ac7d 100644 --- a/Makefile +++ b/Makefile @@ -27,8 +27,11 @@ docker-shell-r-env: ecr-login: (aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin $(AWS_ACCOUNT_ID).dkr.ecr.$(AWS_REGION).amazonaws.com) +push-serverless-custom-file: + aws s3 cp serverless-custom.yml s3://rstudio-devops/r-builds/serverless-custom.yml + fetch-serverless-custom-file: - aws s3 cp s3://rstudio-serverless/serverless/r-builds/serverless-custom.yml . + aws s3 cp s3://rstudio-devops/r-builds/serverless-custom.yml . rebuild-all: deps fetch-serverless-custom-file $(SLS_BINARY) invoke stepf -n rBuilds -d '{"force": true}'