Skip to content

Commit

Permalink
Add an experimental makefile command to run the ecs task for stage
Browse files Browse the repository at this point in the history
Add an experimental makefile command to run the ecs task for stage
  • Loading branch information
zotoMIT committed Sep 8, 2021
1 parent 7a1f1ec commit 0671707
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ publish: dist ## Build, tag and push
docker push $(ECR_REGISTRY)/dspacesubmissionservice-stage:latest
docker push $(ECR_REGISTRY)/dspacesubmissionservice-stage:`git describe --always`

run-stage:
aws ecs run-task --cluster dspacesubmissionservice-stage --task-definition dspacesubmissionservice-stage --network-configuration "awsvpcConfiguration={subnets=[subnet-0b860205e2831b8d0,subnet-039b5e11cd30385c3],securityGroups=[sg-0e37fd7748cc85e44],assignPublicIp=DISABLED}" --launch-type FARGATE --region us-east-1

lint: bandit black flake8 isort ## Runs all linters

bandit: ## Security oriented static analyser for python code
Expand Down

0 comments on commit 0671707

Please sign in to comment.