-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop-backend' of https://github.com/woowacourse-team…
…s/2024-mouda into develop-backend
- Loading branch information
Showing
47 changed files
with
301 additions
and
1,169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Rolling Deployment | ||
|
||
on: | ||
push: | ||
branches: | ||
- chore/#682 | ||
|
||
jobs: | ||
deploy-prod1: | ||
name: Deploy to Prod1 Instance | ||
runs-on: runner-prod1 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run Prod1 instance deploy script | ||
run: | | ||
cd ~/deploy && ./deploy.sh | ||
check-prod1: | ||
name: Check Prod1 Instance | ||
runs-on: runner-prod1 | ||
needs: deploy-prod1 | ||
|
||
steps: | ||
- name: Wait for Prod1 instance to be ready | ||
run: sleep 30 | ||
|
||
- name: Health check for Prod1 instance | ||
run: | | ||
RESPONSE=$(curl --write-out '%{http_code}' --silent --output /dev/null http://localhost:8080/health) | ||
if [ $RESPONSE -ne 200 ]; then | ||
echo "Prod1 instance deployment failed." | ||
exit 1 | ||
fi | ||
echo "Prod1 instance is healthy." | ||
deploy-prod2: | ||
name: Deploy to Prod2 Instance | ||
runs-on: runner-prod2 | ||
needs: check-prod1 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run Prod2 instance deploy script | ||
run: | | ||
cd ~/deploy && ./deploy.sh | ||
check-prod2: | ||
name: Check Prod2 Instance | ||
runs-on: runner-prod2 | ||
needs: deploy-prod2 | ||
|
||
steps: | ||
- name: Wait for Prod2 instance to be ready | ||
run: sleep 30 | ||
|
||
- name: Health check for Prod2 instance | ||
run: | | ||
RESPONSE=$(curl --write-out '%{http_code}' --silent --output /dev/null http://localhost:8080/health) | ||
if [ $RESPONSE -ne 200 ]; then | ||
echo "Prod2 instance deployment failed." | ||
exit 1 | ||
fi | ||
echo "Prod2 instance is healthy." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...implement/finder/ChatRecipientFinder.java → ...implement/sender/ChatRecipientFinder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
114 changes: 0 additions & 114 deletions
114
backend/src/main/java/mouda/backend/moim/business/ChatService.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
50 changes: 0 additions & 50 deletions
50
backend/src/main/java/mouda/backend/moim/domain/ChatRoom.java
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
backend/src/main/java/mouda/backend/moim/domain/ChatRooms.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
backend/src/main/java/mouda/backend/moim/domain/ChatType.java
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
backend/src/main/java/mouda/backend/moim/domain/ChatWithAuthor.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.