-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #218 from TEAMMatchDev/dev
Batch 배포
- Loading branch information
Showing
251 changed files
with
6,343 additions
and
1,693 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,26 @@ | ||
files: | ||
"/home/ec2-user/setup_swap.sh": | ||
mode: "000755" | ||
owner: root | ||
group: root | ||
content: | | ||
#!/bin/bash | ||
# based on http://steinn.org/post/elasticbeanstalk-swap/ | ||
|
||
SWAPFILE=/var/swapfile | ||
SWAP_MEGABYTES=2048 | ||
|
||
if [ -f $SWAPFILE ]; then | ||
echo "Swapfile $SWAPFILE found, assuming already setup" | ||
exit; | ||
fi | ||
|
||
/bin/dd if=/dev/zero of=$SWAPFILE bs=1M count=$SWAP_MEGABYTES | ||
/bin/chmod 600 $SWAPFILE | ||
/sbin/mkswap $SWAPFILE | ||
/sbin/swapon $SWAPFILE | ||
|
||
commands: | ||
01setup_swap: | ||
command: "bash setup_swap.sh" | ||
cwd: "/home/ec2-user/" |
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,26 @@ | ||
files: | ||
"/home/ec2-user/setup_swap.sh": | ||
mode: "000755" | ||
owner: root | ||
group: root | ||
content: | | ||
#!/bin/bash | ||
# based on http://steinn.org/post/elasticbeanstalk-swap/ | ||
|
||
SWAPFILE=/var/swapfile | ||
SWAP_MEGABYTES=2048 | ||
|
||
if [ -f $SWAPFILE ]; then | ||
echo "Swapfile $SWAPFILE found, assuming already setup" | ||
exit; | ||
fi | ||
|
||
/bin/dd if=/dev/zero of=$SWAPFILE bs=1M count=$SWAP_MEGABYTES | ||
/bin/chmod 600 $SWAPFILE | ||
/sbin/mkswap $SWAPFILE | ||
/sbin/swapon $SWAPFILE | ||
|
||
commands: | ||
01setup_swap: | ||
command: "bash setup_swap.sh" | ||
cwd: "/home/ec2-user/" |
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,26 @@ | ||
files: | ||
"/home/ec2-user/setup_swap.sh": | ||
mode: "000755" | ||
owner: root | ||
group: root | ||
content: | | ||
#!/bin/bash | ||
# based on http://steinn.org/post/elasticbeanstalk-swap/ | ||
|
||
SWAPFILE=/var/swapfile | ||
SWAP_MEGABYTES=2048 | ||
|
||
if [ -f $SWAPFILE ]; then | ||
echo "Swapfile $SWAPFILE found, assuming already setup" | ||
exit; | ||
fi | ||
|
||
/bin/dd if=/dev/zero of=$SWAPFILE bs=1M count=$SWAP_MEGABYTES | ||
/bin/chmod 600 $SWAPFILE | ||
/sbin/mkswap $SWAPFILE | ||
/sbin/swapon $SWAPFILE | ||
|
||
commands: | ||
01setup_swap: | ||
command: "bash setup_swap.sh" | ||
cwd: "/home/ec2-user/" |
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 |
---|---|---|
|
@@ -13,5 +13,5 @@ assignees: '' | |
<!-- refactor/issue-47--> | ||
|
||
### ✅ refactoring TODO | ||
<!-- 리팩토링 튜두 --> | ||
<!-- 리팩토링 투두 --> | ||
- [ ] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
## 개요 | ||
## Pull Request | ||
## 📌 개요 - 작업 브랜치 | ||
- close #issueNumber | ||
|
||
## 작업사항 | ||
## ⚡️작업사항 | ||
- 내용을 적어주세요. | ||
|
||
## 변경로직 | ||
## ♻️ 변경사항 (Optional) | ||
- 내용을 적어주세요. |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.