Skip to content

Commit

Permalink
Merge pull request #38 from MITLibraries/makefile-prod-updates
Browse files Browse the repository at this point in the history
Add prod Makefile commands
  • Loading branch information
ehanson8 authored Oct 26, 2023
2 parents 7c461a8 + f5348cb commit e8264ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e8264ee

Please sign in to comment.