-
Notifications
You must be signed in to change notification settings - Fork 1
Deploy 1.0 #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Deploy 1.0 #48
Conversation
This file contains hidden or 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
โฆification [Feat] API ์๋ต ํต์ผ ์ฝ๋ ์์ฑ
[Feat] ์๋ฌ ํธ๋ค๋ฌ ์ฝ๋ ์์ฑ
โฆdes-code-categories [Feat] ํ์, ์ฝ๋, ์ฝ๋ ์นดํ ๊ณ ๋ฆฌ domain ์์ฑ
[Feat] swagger์ค์
feat: #10 category ๋ฑ๋ก, ์กฐํ
[Feat] ํ์๊ฐ์ ๊ธฐ๋ฅ ๊ตฌํ
Spring security๋ฅผ ํ์ฉํด ๋ก๊ทธ์ธ(์ธ์ฆ)๊ธฐ๋ฅ ๊ตฌํ jwt์์ฑ ๊ธฐ๋ฅ ๊ตฌํ Spring security๋ฅผ ํ์ฉํ์ฌ jwt๊ฒ์ฆ ๊ธฐ๋ฅ(์ธ๊ฐ) ๊ตฌํ
โฆ-security-jwt [Feat] Spring security์ Jwt๋ฅผ ํ์ฉํ ๋ก๊ทธ์ธ(์ธ์ฆ) ๋ฐ ์ธ๊ฐ ๊ธฐ๋ฅ ๊ตฌํ
โฆget-user-id [Feat] access token์์ userId์ถ์ถํ๋ ๊ธฐ๋ฅ ๊ตฌํ
โฆinto feat/#12-์ฝ๋-๊ด๋ จ-๊ธฐ๋ฅ-๊ตฌํ
Feat/#12 ์ฝ๋ ๊ด๋ จ ๊ธฐ๋ฅ ๊ตฌํ
[chore] github๊ด๋ จ entity ์ค์
ํ๋ก ํธ์๋์์ ๋ฐ์ authorization code๋ฅผ ํตํด accesstoken๋ฅผ ๋ฐ์์ค๊ณ accesstoken์ผ๋ก ๊นํ๋ธ ๋ฆฌ์์ค ์๋ฒ์์ ์ ์ ์ ๋ณด ๋ฐ์์ค๊ธฐ, ์ด๋ ๋ชจ๋ Spring Security๋ก ์ฒ๋ฆฌ ๋ฐ์์จ ์ ์ ์ ๋ณด๋ก ํ์๊ฐ์ ๋ก๊ทธ์ธ ์ฒ๋ฆฌ ํ์๊ฐ์ ์ ์ ์ ์ ๊ณ ์ ID(providerId), ๋๋ค์, PAT(๊นํ๋ธ๊ฐ ์ ๊ณตํ๋ ํ ํฐ) ์์ฒด db์ ์ ์ฅ
โฆ.0-signin-signup [Feat] ๊นํ๋ธ ๋ก๊ทธ์ธ ๊ตฌํ
โฆinto feat/#22-github-commit-list-๊ฐ์ ธ์ค๊ธฐ-๊ธฐ๋ฅ-sse์ ์ฉ
โฆst-api-add-author [Feat] ๊ธ ๋ฆฌ์คํธ ์กฐํ api์ ๊ธ ์์ฑ api์ response์ author์ถ๊ฐ
โฆ-api-response-content-modify [Feat] ๊ธ ์์ฑ api์ response์ content๊ฐ 70์ ์ด์์ด๋ผ๋ฉด ์๋ฅด๊ณ ...๋ถ์ด๊ธฐ
pr refactor/#40-์ปค๋ฐ ์๋ต ์ ํ 100๊ฐ๋ก ์์
โฆh-entity-์ถ๊ฐ branch entity , ๋ก์ง์์
Dockerfile: ์คํ๋ง ํ๋ก์ ํธ๋ฅผ Docker Image๋ก ๋น๋ํ๊ธฐ ์ํ ํ์ผ workflowํ์ผ(main.yml): application.yml์์ฑ, jarํ์ผ๋ก ๋น๋, Dockerfile์ ์ด์ฉํ์ฌ jarํ์ผ์ ๋์ปค์ด๋ฏธ์ง๋ก ๋น๋, ๋์ปค ๋ ํฌ์งํ ๋ฆฌ(๋์ปค ํ๋ธ)์ push, ๋์ปค ๋ ํฌ์งํ ๋ฆฌ(๋์ปค ํ๋ธ)์์ pull, docker compose up ๋ช ๋ น์ด๋ฅผ ํตํด ec2์ docker-compose.yml์ ์ ์๋ ์๋น์ค ์คํ
โฆcreate-dockerfile-workflow [Feat] Dockerfile, workflowํ์ผ(main.yml) ์์ฑ
โฆw-ubuntu-version [Refactor] workflowํ์ผ(main.yml)์ ubuntu๋ฒ์ ์ ec2์ ubuntu๋ฒ์ ์ธ 22.04๋ก ๋ณ๊ฒฝ
โฆ๋ ๊ฒฝ๋ก 'cd ../../src/main/resources'๋ก ์์
โฆw-file-application-yml-location [Refactor] Workflowํ์ผ(main.yml)์์ application.ymlํ์ผ ์์ฑํ๋ ์์น ์ง์ ํ๋ ์๋๊ฒฝ๋ก ์์
โฆsrc/main/resources'๋ก ๋กค๋ฐฑ
โฆ-location-rollback [Refactor] Workflowํ์ผ(main.yml)์์ application.ymlํ์ผ ์์ฑ ์์น ์๋๊ฒฝ๋ก './src/main/resources'๋ก ๋กค๋ฐฑ
โฆn/resources'๋๋ ํ ๋ฆฌ๊ฐ ์์ผ๋ฉด ์์ฑํ๋ ๋ช ๋ น์ด ์ถ๊ฐ
โฆe-create-application-yml-package [Refactor] Workflowํ์ผ(main.yml)์์ application.ymlํ์ผ์์ฑํ ๋ './src/main/resources'๋๋ ํ ๋ฆฌ๊ฐ ์์ผ๋ฉด ์์ฑํ๋ ๋ช ๋ น์ด ์ถ๊ฐ
โฆpull๋ฐ๋ ๋ช ๋ น์ด์ sudo ํฌํจ์ํค๊ธฐ
โฆhub-action-ec2-docker-command-add-sudo [Fix] Workflowํ์ผ(main.yml)์์ github action์์ ec2์ ์ ํ docker hub์์ pull๋ฐ๋ ๋ช ๋ น์ด์ sudo ํฌํจ์ํค๊ธฐ
โฆver'๋ก ํด๋ ์ด๋ ๋จผ์ ์คํ
โฆ-ec2-docker-command-add-cd-logit-server [Feat] Workflowํ์ผ(main.yml)์์ ec2์ docker ๋ช ๋ น์ด ์คํํ๊ธฐ ์ 'cd logit-server'๋ก ํด๋ ์ด๋ ๋จผ์ ์คํ
์์ ์ ๋ช ๋ น์ด: sudo docker image prune -f ์์ ํ ๋ช ๋ น์ด: docker image prune -f
์์ ์ ๋ช ๋ น์ด: docker image prune -f ์์ ํ ๋ช ๋ น์ด: sudo docker image prune -f
Workflowํ์ผ(main.yml)์์ ec2์์ ์ปจํ ์ด๋ ์ข ๋ฃํ๊ณ docker-compose๋ก ์ปจํ ์ด๋ ์ ๋ฐ์ดํธํ๋ ๋ช ๋ น์ด ์์ ์ปจํ ์ด๋ ์ข ๋ฃ ๋ช ๋ น์ด ์์ ์ : sudo docker rm -f $(docker ps -qa), ์์ ํ :sudo docker rm -f $(sudo docker ps -aq) || true docker-compose๋ก ์ปจํ ์ด๋ ์ ๋ฐ์ดํธํ๋ ๋ช ๋ น์ด ์์ ์ : sudo docker compose up -d, ์์ ํ: sudo docker-compose up -d
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
๐์์ ๋ด์ฉ