Skip to content

Commit d7eaa99

Browse files
Merge pull request #45 from MITLibraries/IN-1592-update-makefile-instructions
Update Makefile instructions
2 parents 210fa88 + 0f045b9 commit d7eaa99

File tree

5 files changed

+1510
-1211
lines changed

5 files changed

+1510
-1211
lines changed

.github/CODEOWNERS

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# CODEOWNERS file (from GitHub template at
2+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)
3+
# Each line is a file pattern followed by one or more owners.
4+
5+
################################################################################
6+
# These owners will be the default owners for everything in the repo. This is commented
7+
# out in favor of using a team as the default (see below). It is left here as a comment
8+
# to indicate the primary expert for this code.
9+
# * @adamshire123
10+
11+
# Teams can be specified as code owners as well. Teams should be identified in
12+
# the format @org/team-name. Teams must have explicit write access to the
13+
# repository.
14+
* @mitlibraries/dataeng
15+
16+
# We set the senior engineer in the team as the owner of the CODEOWNERS file as
17+
# a layer of protection for unauthorized changes.
18+
/.github/CODEOWNERS @ghukill

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,5 @@ YES | NO
1515
### What are the relevant tickets?
1616
- Include links to Jira Software and/or Jira Service Management tickets here.
1717

18-
### Developer
19-
- [ ] All new ENV is documented in README
20-
- [ ] All new ENV has been added to staging and production environments
21-
- [ ] All related Jira tickets are linked in commit message(s)
22-
- [ ] Stakeholder approval has been confirmed (or is not needed)
23-
24-
### Code Reviewer(s)
25-
- [ ] The commit message is clear and follows our guidelines (not just this PR message)
26-
- [ ] There are appropriate tests covering any new functionality
27-
- [ ] The provided documentation is sufficient for understanding any new functionality introduced
28-
- [ ] Any manual tests have been performed **or** provided examples verified
29-
- [ ] New dependencies are appropriate or there were no changes
18+
### Code review
19+
* Code review best practices are documented [here](https://mitlibraries.github.io/guides/collaboration/code_review.html) and you are encouraged to have a constructive dialogue with your reviewers about their preferences and expectations.

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,22 +103,22 @@ publish-stage: ## Only use in an emergency
103103
# aws lambda update-function-code --function-name $(FUNCTION_STAGE) --image-uri $(ECR_URL_STAGE):latest
104104

105105
run-dev: ## Runs the task in dev - see readme for more info
106-
aws ecs run-task --cluster DSS-SubmissionService-dev --task-definition DSS-SubmissionService-dev-task --network-configuration "awsvpcConfiguration={subnets=[subnet-0488e4996ddc8365b,subnet-022e9ea19f5f93e65],securityGroups=[sg-044033bf5f102c544],assignPublicIp=DISABLED}" --launch-type FARGATE --region us-east-1
106+
aws ecs run-task --cluster DSS-SubmissionService-dev --task-definition DSS-SubmissionService-dev --network-configuration "awsvpcConfiguration={subnets=[subnet-0488e4996ddc8365b,subnet-022e9ea19f5f93e65],securityGroups=[sg-044033bf5f102c544],assignPublicIp=DISABLED}" --launch-type FARGATE --region us-east-1
107107

108108
verify-dspace-connection-dev: # Verify dev app can connect to DSpace
109-
aws ecs run-task --cluster DSS-SubmissionService-dev --task-definition DSS-SubmissionService-dev-task --network-configuration "awsvpcConfiguration={subnets=[subnet-0488e4996ddc8365b,subnet-022e9ea19f5f93e65],securityGroups=[sg-044033bf5f102c544],assignPublicIp=DISABLED}" --launch-type FARGATE --region us-east-1 --overrides '{"containerOverrides": [ {"name": "DSS", "command": ["verify-dspace-connection"]}]}'
109+
aws ecs run-task --cluster DSS-SubmissionService-dev --task-definition DSS-SubmissionService-dev --network-configuration "awsvpcConfiguration={subnets=[subnet-0488e4996ddc8365b,subnet-022e9ea19f5f93e65],securityGroups=[sg-044033bf5f102c544],assignPublicIp=DISABLED}" --launch-type FARGATE --region us-east-1 --overrides '{"containerOverrides": [ {"name": "DSS", "command": ["verify-dspace-connection"]}]}'
110110

111111
run-stage: ## Runs the task in stage - see readme for more info
112-
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
112+
aws ecs run-task --cluster DSS-SubmissionService-stage --task-definition DSS-SubmissionService-stage --network-configuration "awsvpcConfiguration={subnets=[subnet-05df31ac28dd1a4b0,subnet-04cfa272d4f41dc8a],securityGroups=[sg-0f64d9a1101d544d1],assignPublicIp=DISABLED}" --launch-type FARGATE --region us-east-1
113113

114114
verify-dspace-connection-stage: # Verify stage app can connect to DSpace
115-
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"]}]}'
115+
aws ecs run-task --cluster DSS-SubmissionService-stage --task-definition DSS-SubmissionService-stage --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"]}]}'
116116

117117
run-prod: ## Runs the task in prod - see readme for more info
118-
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
118+
aws ecs run-task --cluster DSS-SubmissionService-prod --task-definition DSS-SubmissionService-prod --network-configuration "awsvpcConfiguration={subnets=[subnet-042726f373a7c5a79,subnet-05ab0e5c2bfcd748f],securityGroups=[sg-0325d8c490a870a90],assignPublicIp=DISABLED}" --launch-type FARGATE --region us-east-1
119119

120120
verify-dspace-connection-prod: # Verify prod app can connect to DSpace
121-
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"]}]}'
121+
aws ecs run-task --cluster DSS-SubmissionService-prod --task-definition DSS-SubmissionService-prod --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"]}]}'
122122

123123
# run-prod: ## Runs the task in stage - see readme for more info
124124
# Not yet deployed in production

0 commit comments

Comments
 (0)