From f5348cb414e2c7164761ed86fa3a6adbe8b2906d Mon Sep 17 00:00:00 2001 From: Eric Hanson Date: Fri, 20 Oct 2023 16:11:20 -0400 Subject: [PATCH] Add prod Makefile commands * Add Makefile commands for prod environment --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 1124954..ab38b5a 100644 --- a/Makefile +++ b/Makefile @@ -55,6 +55,12 @@ run-stage: ## Runs the task in stage - see readme for more info verify-dspace-connection-stage: # Verify stage app can connect to DSpace aws ecs run-task --cluster DSS-SubmissionService-stage --task-definition DSS-SubmissionService-stage-task --network-configuration "awsvpcConfiguration={subnets=[subnet-05df31ac28dd1a4b0,subnet-04cfa272d4f41dc8a],securityGroups=[sg-0f64d9a1101d544d1],assignPublicIp=DISABLED}" --launch-type FARGATE --region us-east-1 --overrides '{"containerOverrides": [ {"name": "DSS", "command": ["verify-dspace-connection"]}]}' +run-prod: ## Runs the task in prod - see readme for more info + aws ecs run-task --cluster DSS-SubmissionService-prod --task-definition DSS-SubmissionService-prod-task --network-configuration "awsvpcConfiguration={subnets=[subnet-042726f373a7c5a79,subnet-05ab0e5c2bfcd748f],securityGroups=[sg-0325d8c490a870a90],assignPublicIp=DISABLED}" --launch-type FARGATE --region us-east-1 + +verify-dspace-connection-prod: # Verify prod app can connect to DSpace + aws ecs run-task --cluster DSS-SubmissionService-prod --task-definition DSS-SubmissionService-prod-task --network-configuration "awsvpcConfiguration={subnets=[subnet-042726f373a7c5a79,subnet-05ab0e5c2bfcd748f],securityGroups=[sg-0325d8c490a870a90],assignPublicIp=DISABLED}" --launch-type FARGATE --region us-east-1 --overrides '{"containerOverrides": [ {"name": "DSS", "command": ["verify-dspace-connection"]}]}' + # run-prod: ## Runs the task in stage - see readme for more info # Not yet deployed in production