Skip to content
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

[STMT-6, STMT-151] โœจ๐Ÿ‘ท CI/CD๋ฅผ ์œ„ํ•œ github actions workflow ๊ตฌ์ถ• ๋ฐ ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์ธ api ๊ตฌํ˜„ #21

Merged
merged 22 commits into from
Feb 16, 2024

Conversation

05AM
Copy link
Member

@05AM 05AM commented Feb 15, 2024

๐Ÿ’ ํ•ด๊ฒฐ ํ•˜๋ ค๋Š” ๋ฌธ์ œ๋ฅผ ์ ์–ด์ฃผ์„ธ์š”

  • CI/CD๋ฅผ ์œ„ํ•œ github actions workflow ๊ตฌ์ถ•
  • ๋กœ๊ทธ์ธ, ํšŒ์›๊ฐ€์ž… api ๊ตฌํ˜„

๐Ÿค” ์–ด๋–ค ๋ฐฉ์‹์œผ๋กœ ํ•ด๊ฒฐํ–ˆ๋Š”์ง€ ์ ์–ด์ฃผ์„ธ์š”

  • github actions์—์„œ cicd workflow ์ƒ์„ฑ
  • jwt ํ† ํฐ๊ณผ ์‚ฌ์šฉ์ž ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์ธ api ๊ตฌํ˜„

zxcv9203 and others added 14 commits February 10, 2024 23:36
* [STMT-151] โœจ ๊ณตํ†ต์ ์œผ๋กœ ์‚ฌ์šฉ๋˜๋Š” ์ƒ์„ฑ ์‹œ๊ฐ„, ์ˆ˜์ • ์‹œ๊ฐ„ ์ถ”๊ฐ€๋ฅผ ์œ„ํ•œ ์ถ”์ƒ ํด๋ž˜์Šค ๊ตฌํ˜„

* [STMT-151] ๐Ÿ› ์„ค์ • ํด๋ž˜์Šค๋ฅผ ๋ช…์‹œํ•˜์—ฌ ์Šคํ”„๋ง ์ปจํ…์ŠคํŠธ์—์„œ ๊ด€๋ฆฌํ•˜๋„๋ก ์„ค์ •
[STMT-6] ๐Ÿ‘ท CI/CD๋ฅผ ์œ„ํ•œ github-actions ์ถ”๊ฐ€
* [STMT-151] โœจ JWT ์ƒ์„ฑ ๋ฐ ๊ฒ€์ฆ ๊ฐ์ฒด ๊ตฌํ˜„

* [STMT-151] โž• JWT, OpenFeign, QueryDSL ์˜์กด์„ฑ ์ถ”๊ฐ€
* [STMT-151] ๐Ÿ”ง QueryDSL ์„ค์ •

* [STMT-151] โœจ API ๊ณตํ†ต ์‘๋‹ต ๊ฐ์ฒด ๊ตฌํ˜„

* [STMT-151] โœจ ํด๋ผ์ด์–ธํŠธ์—๊ฒŒ ์ „๋‹ฌ๋ฐ›์€ Access Token์„ ์ด์šฉํ•˜์—ฌ kakao์— ์œ ์ € ์ •๋ณด ์š”์ฒญ ๊ธฐ๋Šฅ ๊ตฌํ˜„

* [STMT-151] โœจ OAuth ๋กœ๊ทธ์ธ ์ •๋ณด๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ๋„๋ฉ”์ธ ์ •์˜

* [STMT-151] โœจ ์นด์นด์˜ค ์œ ์ € ์ •๋ณด ์กฐํšŒ ์‘๋‹ต ๊ฐ์ฒด ์ •์˜

* [STMT-151] โœจ OAuth ํšŒ์›๊ฐ€์ž…/๋กœ๊ทธ์ธ ๊ธฐ๋Šฅ ํ•„ํ„ฐ ๊ตฌํ˜„

* [STMT-151] โœจ OAuth ํšŒ์›๊ฐ€์ž… / ๋กœ๊ทธ์ธ ์ธ์ฆ ํ”„๋กœ๋ฐ”์ด๋” ๊ตฌํ˜„

* [STMT-151] โœจ JWT ์ธ์ฆ ํ•„ํ„ฐ ๊ตฌํ˜„

* [STMT-151] โœจ ๊ถŒํ•œ ๋ถ€์กฑ ๋ฐ ๋ฏธ์ธ์ฆ ์œ ์ €๊ฐ€ ์š”์ฒญ์‹œ ์˜ˆ์™ธ๋ฐœ์ƒ์— ๋Œ€ํ•œ ์˜ˆ์™ธ ํ•ธ๋“ค๋Ÿฌ ์ถ”๊ฐ€

* [STMT-151] โœจ ๊ตฌํ˜„ํ•œ ํ•„ํ„ฐ ์‹œํ๋ฆฌํ‹ฐ ํ•„ํ„ฐ ์ฒด์ธ์— ๋“ฑ๋ก

* [STMT-151] โœจ ํšŒ์›๊ฐ€์ž… ์ถ”๊ฐ€์ •๋ณด ์ž…๋ ฅ API ๊ตฌํ˜„
- ํŒŒ์ผ ์ด๋ฆ„ ๋ณ€๊ฒฝ
 - github-actions.yml -> ci-cd.yml
- gitignore์— application-secret.properties ํŒŒ์ผ ์ถ”๊ฐ€

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>
* [STMT-6] ๐Ÿ‘ท CI-CD workflow ์ˆ˜์ • - ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ • (#17)

- ํŒŒ์ผ ์ด๋ฆ„ ๋ณ€๊ฒฝ
 - github-actions.yml -> ci-cd.yml
- gitignore์— application-secret.properties ํŒŒ์ผ ์ถ”๊ฐ€

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>

* [STMT-6] ci-cd.yml event trigger ์ˆ˜์ •

* [STMT-6] ci-cd.yml ๋ฌธ๋ฒ• ์˜ค๋ฅ˜ ์ˆ˜์ •

step-Checkout์—์„œ uses ์•ž ๋Œ€์‰ฌ ์‚ญ์ œ

---------

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>
@05AM 05AM changed the title [STMT-6, STMT-151] CI/CD๋ฅผ ์œ„ํ•œ github actions workflow ๊ตฌ์ถ• ๋ฐ ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์ธ api ๊ตฌํ˜„ [STMT-6, STMT-151] โœจ CI/CD๋ฅผ ์œ„ํ•œ github actions workflow ๊ตฌ์ถ• ๋ฐ ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์ธ api ๊ตฌํ˜„ Feb 15, 2024
@05AM 05AM changed the title [STMT-6, STMT-151] โœจ CI/CD๋ฅผ ์œ„ํ•œ github actions workflow ๊ตฌ์ถ• ๋ฐ ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์ธ api ๊ตฌํ˜„ [STMT-6, STMT-151] โœจ๐Ÿ‘ท CI/CD๋ฅผ ์œ„ํ•œ github actions workflow ๊ตฌ์ถ• ๋ฐ ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์ธ api ๊ตฌํ˜„ Feb 15, 2024
@05AM 05AM added the D-0 ๋ฐ”๋กœ ๋ฆฌ๋ทฐ๊ฐ€ ํ•„์š”ํ•ด์š” label Feb 15, 2024
Copy link
Collaborator

@zxcv9203 zxcv9203 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค.

์ธํ”„๋ผ ํ˜•์ƒ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•ด docker-compose.yml ํŒŒ์ผ๋„ ๊นƒ ๋ ˆํฌ์ง€ํ„ฐ๋ฆฌ์— ์ถ”๊ฐ€ํ•ด์ฃผ์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

distribution: 'temurin'

- name: set environment variables
working-directory: ./
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P5 : ์ž‘์—…๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ ํ˜„์žฌ ๋””๋ ‰ํ„ฐ๋ฆฌ๋กœ ์ง€์ •ํ–ˆ์„๋•Œ ์–ด๋–ค ํšจ๊ณผ๊ฐ€ ์žˆ๋Š”์ง€ ๊ถ๊ธˆํ•ฉ๋‹ˆ๋‹ค

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ํŠน๋ณ„ํ•œ ํšจ๊ณผ๋Š” ์—†๊ณ  ์•„๋ž˜ touch์— ๋„ฃ์–ด์•ผ ํ•˜๋Š” ์ฃผ์†Œ๊ฐ€ ๊ฐ„๋‹จํ•ด์ง€๋Š” ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

Comment on lines 30 to 32
pwd
touch src/main/resources/application-secret.properties
echo ${{ secrets.ENV }} >> src/main/resources/application-secret.properties
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P4 : ๋‹ค์Œ๋ถ€๋ถ„์€ ๋””๋ฒ„๊น… ์šฉ๋„๋กœ ์‚ฌ์šฉํ•˜์…จ๋˜ ๊ฒƒ ๊ฐ™์€๋ฐ ๋”ฐ๋กœ ์ด์œ ๊ฐ€ ์—†๋‹ค๋ฉด ์‚ญ์ œํ•ด์ฃผ์…”๋„ ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

pwd # ํ˜„์žฌ ๋””๋ ‰ํ„ฐ๋ฆฌ ํ™•์ธ
touch src/main/resources/application-secret.properties # ํ•ด๋‹น ๊ฒฝ๋กœ์— ํŒŒ์ผ ์ƒ์„ฑ (ํŒŒ์ผ์ด ์กด์žฌํ•  ๊ฒฝ์šฐ ์‹œ๊ฐ„๋งŒ ๋ณ€๊ฒฝ๋จ)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋„ค ์‚ญ์ œํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค! ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค

Comment on lines 72 to 76
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/server
sudo docker stop stumeet-server
docker container prune -f
sudo docker run -it -d -p 8080:8080 --name stumeet-server ${{ secrets.DOCKER_USERNAME }}/server
sudo docker image prune -f
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 : docker-compose๋กœ ๊ด€๋ฆฌํ•˜๋Š” ๋งŒํผ docker-compose ๋ช…๋ น์œผ๋กœ ๋ณ€๊ฒฝํ•ด์ฃผ์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

sudo docker stop stumeet-server
docker container prune -f
sudo docker run -it -d -p 8080:8080 --name stumeet-server ${{ secrets.DOCKER_USERNAME }}/server
->
sudo docker-compose up -d --no-deps --force-recreate ${docker-compose ํŒŒ์ผ ๋‚ด ๋ช…์‹œํ•œ ์„œ๋น„์Šค ์ด๋ฆ„}

๐Ÿ’ก ๋‹จ์ˆœ ๋„์ปค ๋ช…๋ น๋งŒ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ ์ปจํ…Œ์ด๋„ˆ ๊ฐฏ์ˆ˜๋ฅผ ์ถ”๊ฐ€ํ•œ ์ƒํƒœ์—์„œ์˜ ๋™์ž‘์ด๋ผ๋˜์ง€ ํผ์‹œ์Šคํ„ด์Šค ๋ณผ๋ฅจ๋“ค์„ ์ง์ ‘ ์ˆ˜๋™์œผ๋กœ ๊ด€๋ฆฌํ•ด์•ผํ•˜๊ธฐ ๋•Œ๋ฌธ์— ๋ถˆํŽธํ•จ์ด ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์„ ๋“ฏ ํ•ฉ๋‹ˆ๋‹ค.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋„ค ์กฐ์–ธ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค! ์ˆ˜์ •ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

Comment on lines 27 to 31
logging:
level:
org:
springframework:
security: DEBUG
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P5 : ์šด์˜ ํ”„๋กœํŒŒ์ผ์€ ์‹œํ๋ฆฌํ‹ฐ ๋””๋ฒ„๊ฑฐ ์ œ๊ฑฐํ•ด์ฃผ์…”๋„ ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋„ค, ์ˆ˜์ •ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค!

@05AM
Copy link
Member Author

05AM commented Feb 16, 2024

๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค.

์ธํ”„๋ผ ํ˜•์ƒ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•ด docker-compose.yml ํŒŒ์ผ๋„ ๊นƒ ๋ ˆํฌ์ง€ํ„ฐ๋ฆฌ์— ์ถ”๊ฐ€ํ•ด์ฃผ์‹œ๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

๋ฐ”์˜์‹  ์ค‘์— ์ž์„ธํ•œ ๋ฆฌ๋ทฐ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค! ํ™”์ดํŒ…์ž…๋‹ˆ๋‹ค ๐Ÿ‘๐Ÿ‘

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: ํ•ด๋‹น ๋‚ด์šฉ๋“ค์ด ์‚ญ์ œ๋˜์–ด๋„ ๋ฌด๋ฐฉํ•œ๊ฐ€์š”? ์ด๋ ‡๊ฒŒ ์ž‘์—…ํ•œ๋‹ค๋ฉด ๋‹ค์‹œ ๋จธ์ง€ํ•ด์•ผ ๋˜์ง€ ์•Š์„๊นŒ์š”?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ํ•ด๋‹น ์ฝ”๋“œ๋Š” ์‹ค์ œ ๊ตฌํ˜„ ์ฝ”๋“œ๊ฐ€ ์•„๋‹Œ ์ด์ „์— ์ฒ ์šฉ๋‹˜๊ป˜์„œ ํŒจํ‚ค์ง€ ๊ตฌ์กฐ ์˜ˆ์‹œ ๋“ค์–ด์ฃผ์‹ค ๋•Œ ์ƒ์„ฑํ•˜์‹  ํŒŒ์ผ๋กœ ๋ณด์ž…๋‹ˆ๋‹ค!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์•— ๊ทธ๋ ‡๊ตฐ์š” ์•Œ๊ฒ ์Šต๋‹ˆ๋‹ค approveํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค!

Copy link
Contributor

@tngtied tngtied left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๊ณ ์ƒ๋งŽ์œผ์…จ์Šต๋‹ˆ๋‹ค!

@05AM 05AM closed this Feb 16, 2024
@05AM 05AM reopened this Feb 16, 2024
@05AM 05AM merged commit 7cec6ea into main Feb 16, 2024
05AM added a commit that referenced this pull request Feb 20, 2024
* [STMT-6, STMT-151] โœจ๐Ÿ‘ท CI/CD๋ฅผ ์œ„ํ•œ github actions workflow ๊ตฌ์ถ• ๋ฐ ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์ธ api ๊ตฌํ˜„ (#21)

* [STMT-151] โœจ ๊ณตํ†ต์ ์œผ๋กœ ์‚ฌ์šฉ๋˜๋Š” ์ƒ์„ฑ ์‹œ๊ฐ„, ์ˆ˜์ • ์‹œ๊ฐ„ ์ถ”๊ฐ€๋ฅผ ์œ„ํ•œ ์ถ”์ƒ ํด๋ž˜์Šค ๊ตฌํ˜„ (#10)

* [STMT-151] โœจ ๊ณตํ†ต์ ์œผ๋กœ ์‚ฌ์šฉ๋˜๋Š” ์ƒ์„ฑ ์‹œ๊ฐ„, ์ˆ˜์ • ์‹œ๊ฐ„ ์ถ”๊ฐ€๋ฅผ ์œ„ํ•œ ์ถ”์ƒ ํด๋ž˜์Šค ๊ตฌํ˜„

* [STMT-151] ๐Ÿ› ์„ค์ • ํด๋ž˜์Šค๋ฅผ ๋ช…์‹œํ•˜์—ฌ ์Šคํ”„๋ง ์ปจํ…์ŠคํŠธ์—์„œ ๊ด€๋ฆฌํ•˜๋„๋ก ์„ค์ •

* [STMT-6] ๐Ÿ‘ท CI/CD๋ฅผ ์œ„ํ•œ github-actions ์ถ”๊ฐ€

* [STMT-6] ๐Ÿ‘ท CI/CD๋ฅผ ์œ„ํ•œ github-actions ์ถ”๊ฐ€

* [STMT-151] โœจ ๋กœ๊ทธ์ธ์„ ์œ„ํ•œ ๋ฉค๋ฒ„, OAuth ๋กœ๊ทธ์ธ ์ •๋ณด ๋ชจ๋ธ๋ง (#11)

* [STMT-6] ๐Ÿ› ๋„์ปค ์ปจํ…Œ์ด๋„ˆ ์‹คํ–‰ ์ „, ์ด์ „์— ์‹คํ–‰ ์ค‘์ด๋˜ ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์ค‘์ง€, ์‚ญ์ œํ•˜๋„๋ก ์ˆ˜์ • ๋ฐ ๋‹ค์ˆ˜์˜ ์˜คํƒ€ ์ˆ˜์ •

* [STMT-6] ๐Ÿ’š JDK 21 distribution temurin์— ๋Œ€ํ•œ CI/CD ์ž๋™ํ™” ํ…Œ์ŠคํŠธ

* [STMT-6] ๐Ÿ‘ท CI/CD ์ž๋™ํ™” ์›Œํฌํ”Œ๋กœ์šฐ ์™„์„ฑ

* [STMT-6] โœ๏ธ ์ฃผ์„ ์ œ๊ฑฐ

* [STMT-151] โœจ JWT ์ƒ์„ฑ ๋ฐ ๊ฒ€์ฆ ๊ฐ์ฒด ๊ตฌํ˜„ (#14)

* [STMT-151] โœจ JWT ์ƒ์„ฑ ๋ฐ ๊ฒ€์ฆ ๊ฐ์ฒด ๊ตฌํ˜„

* [STMT-151] โž• JWT, OpenFeign, QueryDSL ์˜์กด์„ฑ ์ถ”๊ฐ€

* [STMT-151] โœจ OAuth2 ๋กœ๊ทธ์ธ/ํšŒ์›๊ฐ€์ž… ๊ธฐ๋Šฅ ๊ตฌํ˜„ (#16)

* [STMT-151] ๐Ÿ”ง QueryDSL ์„ค์ •

* [STMT-151] โœจ API ๊ณตํ†ต ์‘๋‹ต ๊ฐ์ฒด ๊ตฌํ˜„

* [STMT-151] โœจ ํด๋ผ์ด์–ธํŠธ์—๊ฒŒ ์ „๋‹ฌ๋ฐ›์€ Access Token์„ ์ด์šฉํ•˜์—ฌ kakao์— ์œ ์ € ์ •๋ณด ์š”์ฒญ ๊ธฐ๋Šฅ ๊ตฌํ˜„

* [STMT-151] โœจ OAuth ๋กœ๊ทธ์ธ ์ •๋ณด๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ๋„๋ฉ”์ธ ์ •์˜

* [STMT-151] โœจ ์นด์นด์˜ค ์œ ์ € ์ •๋ณด ์กฐํšŒ ์‘๋‹ต ๊ฐ์ฒด ์ •์˜

* [STMT-151] โœจ OAuth ํšŒ์›๊ฐ€์ž…/๋กœ๊ทธ์ธ ๊ธฐ๋Šฅ ํ•„ํ„ฐ ๊ตฌํ˜„

* [STMT-151] โœจ OAuth ํšŒ์›๊ฐ€์ž… / ๋กœ๊ทธ์ธ ์ธ์ฆ ํ”„๋กœ๋ฐ”์ด๋” ๊ตฌํ˜„

* [STMT-151] โœจ JWT ์ธ์ฆ ํ•„ํ„ฐ ๊ตฌํ˜„

* [STMT-151] โœจ ๊ถŒํ•œ ๋ถ€์กฑ ๋ฐ ๋ฏธ์ธ์ฆ ์œ ์ €๊ฐ€ ์š”์ฒญ์‹œ ์˜ˆ์™ธ๋ฐœ์ƒ์— ๋Œ€ํ•œ ์˜ˆ์™ธ ํ•ธ๋“ค๋Ÿฌ ์ถ”๊ฐ€

* [STMT-151] โœจ ๊ตฌํ˜„ํ•œ ํ•„ํ„ฐ ์‹œํ๋ฆฌํ‹ฐ ํ•„ํ„ฐ ์ฒด์ธ์— ๋“ฑ๋ก

* [STMT-151] โœจ ํšŒ์›๊ฐ€์ž… ์ถ”๊ฐ€์ •๋ณด ์ž…๋ ฅ API ๊ตฌํ˜„

* [STMT-6] ๐Ÿ‘ท CI-CD workflow ์ˆ˜์ • - ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ • (#17) (#18)

- ํŒŒ์ผ ์ด๋ฆ„ ๋ณ€๊ฒฝ
 - github-actions.yml -> ci-cd.yml
- gitignore์— application-secret.properties ํŒŒ์ผ ์ถ”๊ฐ€

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>

* [STMT-6] ๐Ÿ‘ท ci-cd ์›Œํฌํ”Œ๋กœ์šฐ๊ฐ€ ์‹คํŒจํ•˜๋Š” ์›์ธ ๊ทœ๋ช… ๋ฐ ๋ฌธ์ œ ํ•ด๊ฒฐ (#19)

* [STMT-6] ๐Ÿ‘ท CI-CD workflow ์ˆ˜์ • - ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ • (#17)

- ํŒŒ์ผ ์ด๋ฆ„ ๋ณ€๊ฒฝ
 - github-actions.yml -> ci-cd.yml
- gitignore์— application-secret.properties ํŒŒ์ผ ์ถ”๊ฐ€

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>

* [STMT-6] ci-cd.yml event trigger ์ˆ˜์ •

* [STMT-6] ci-cd.yml ๋ฌธ๋ฒ• ์˜ค๋ฅ˜ ์ˆ˜์ •

step-Checkout์—์„œ uses ์•ž ๋Œ€์‰ฌ ์‚ญ์ œ

---------

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>

* [STMT-6] ๐Ÿ”ง ๊ฐœ๋ฐœ ํ™˜๊ฒฝ๋ณ„ yml ์„ค์ • ํŒŒ์ผ ์ž‘์„ฑ (#20)

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>

* [STMT-6] ๐Ÿ’š CI/CD dev ํ…Œ์ŠคํŠธ

* [STMT-6] prod ์„ค์ •ํŒŒ์ผ๋กœ ๋นŒ๋“œํ•˜๋Š” ์„ค์ • ์ถ”๊ฐ€

* [STMT-6] ๐Ÿ’š CICD ํ…Œ์ŠคํŠธ์šฉ์œผ๋กœ event triger์— ์ถ”๊ฐ€ํ•œ ์ฝ”๋“œ ์‚ญ์ œ

branch `dev` ์ œ์™ธ

* [STMT-6] ๐Ÿ”ฅ prod ์„ค์ • ํŒŒ์ผ์˜ security logging ์„ค์ • ์ฝ”๋“œ ์ œ๊ฑฐ

* [STMT-6] ๐Ÿ”ฅ ci-cd ์›Œํฌ ํ”Œ๋กœ์šฐ์˜ ๋””๋ฒ„๊ทธ ์ฝ”๋“œ ์ œ๊ฑฐ

* [STMT-6] ๐Ÿ”ฅ ci-cd ์›Œํฌ ํ”Œ๋กœ์šฐ ์ˆ˜์ • - docker compose ๋ฐฐํฌ ๋ช…๋ น์–ด

* [STMT-6] ๐Ÿš€ docker-compose.yml ์ƒ์„ฑ

---------

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>
Co-authored-by: tngtied <tngtied@gmail.com>
Co-authored-by: tngtied <75424805+tngtied@users.noreply.github.com>

* [STMT-6] ๐ŸŒฑ Success Response ์ƒ์„ฑ

* [STMT-6] ๐ŸŒฑ Error ์„ธ๋ถ€์‚ฌํ•ญ ์ „๋‹ฌ์„ ์œ„ํ•œ ํด๋ž˜์Šค ์ƒ์„ฑ

- Error : ์ผ๋ฐ˜์ ์ธ ๊ฒฝ์šฐ์˜ ์—๋Ÿฌ ๋ฉ”์‹œ์ง€๋ฅผ ๋‹ด๋Š”๋‹ค.
- ErrorField : BindingResult์— ๋“ค์–ด์žˆ๋Š” ํ•„๋“œ validation, matching ๋“ฑ์˜ ์—ฌ๋Ÿฌ ์—๋Ÿฌ ํ•ญ๋ชฉ์„ ํ‘œํ˜„ํ•œ๋‹ค.

* [STMT-6] ๐ŸŒฑ Error Response ์ƒ์„ฑ

* [STMT-6] ๐ŸŒฑ custom exception์„ ์œ„ํ•œ BusinessException ์ƒ์„ฑ

* [STMT-6] ๐Ÿฅ… GlobalExceptionHandler ์ƒ์„ฑ

* [STMT-6] ๐Ÿฉน Error ํด๋ž˜์Šค json index ์‚ญ์ œ

* [STMT-6] ๐Ÿงฑ ๋ถ„๋ฆฌ๋œ ์„ฑ๊ณต, ์—๋Ÿฌ ์‘๋‹ต์„ ApiResponse๋กœ ๋ณ‘ํ•ฉ

* [STMT-6] ๐Ÿ”Š Exception, BusinessException ๋ฐœ์ƒ ์‹œ ์—๋Ÿฌ ์Šคํƒ ํŠธ๋ ˆ์ด์Šค ๋กœ๊น…

* [STMT-6] ๐Ÿ“ฆ ๊ณตํ†ต ๊ฐ์ฒด ํŒจํ‚ค์ง€ ๊ตฌ์กฐ ๋ณ€๊ฒฝ

- `ErrorCode`
 - `exception`-`error` -> `response`
- `BusinessException`
 - `exception` -> `exception`-`model`

---------

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>
Co-authored-by: tngtied <tngtied@gmail.com>
Co-authored-by: tngtied <75424805+tngtied@users.noreply.github.com>
05AM added a commit that referenced this pull request Feb 21, 2024
* [STMT-6, STMT-151] โœจ๐Ÿ‘ท CI/CD๋ฅผ ์œ„ํ•œ github actions workflow ๊ตฌ์ถ• ๋ฐ ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์ธ api ๊ตฌํ˜„ (#21)

* [STMT-151] โœจ ๊ณตํ†ต์ ์œผ๋กœ ์‚ฌ์šฉ๋˜๋Š” ์ƒ์„ฑ ์‹œ๊ฐ„, ์ˆ˜์ • ์‹œ๊ฐ„ ์ถ”๊ฐ€๋ฅผ ์œ„ํ•œ ์ถ”์ƒ ํด๋ž˜์Šค ๊ตฌํ˜„ (#10)

* [STMT-151] โœจ ๊ณตํ†ต์ ์œผ๋กœ ์‚ฌ์šฉ๋˜๋Š” ์ƒ์„ฑ ์‹œ๊ฐ„, ์ˆ˜์ • ์‹œ๊ฐ„ ์ถ”๊ฐ€๋ฅผ ์œ„ํ•œ ์ถ”์ƒ ํด๋ž˜์Šค ๊ตฌํ˜„

* [STMT-151] ๐Ÿ› ์„ค์ • ํด๋ž˜์Šค๋ฅผ ๋ช…์‹œํ•˜์—ฌ ์Šคํ”„๋ง ์ปจํ…์ŠคํŠธ์—์„œ ๊ด€๋ฆฌํ•˜๋„๋ก ์„ค์ •

* [STMT-6] ๐Ÿ‘ท CI/CD๋ฅผ ์œ„ํ•œ github-actions ์ถ”๊ฐ€

* [STMT-6] ๐Ÿ‘ท CI/CD๋ฅผ ์œ„ํ•œ github-actions ์ถ”๊ฐ€

* [STMT-151] โœจ ๋กœ๊ทธ์ธ์„ ์œ„ํ•œ ๋ฉค๋ฒ„, OAuth ๋กœ๊ทธ์ธ ์ •๋ณด ๋ชจ๋ธ๋ง (#11)

* [STMT-6] ๐Ÿ› ๋„์ปค ์ปจํ…Œ์ด๋„ˆ ์‹คํ–‰ ์ „, ์ด์ „์— ์‹คํ–‰ ์ค‘์ด๋˜ ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์ค‘์ง€, ์‚ญ์ œํ•˜๋„๋ก ์ˆ˜์ • ๋ฐ ๋‹ค์ˆ˜์˜ ์˜คํƒ€ ์ˆ˜์ •

* [STMT-6] ๐Ÿ’š JDK 21 distribution temurin์— ๋Œ€ํ•œ CI/CD ์ž๋™ํ™” ํ…Œ์ŠคํŠธ

* [STMT-6] ๐Ÿ‘ท CI/CD ์ž๋™ํ™” ์›Œํฌํ”Œ๋กœ์šฐ ์™„์„ฑ

* [STMT-6] โœ๏ธ ์ฃผ์„ ์ œ๊ฑฐ

* [STMT-151] โœจ JWT ์ƒ์„ฑ ๋ฐ ๊ฒ€์ฆ ๊ฐ์ฒด ๊ตฌํ˜„ (#14)

* [STMT-151] โœจ JWT ์ƒ์„ฑ ๋ฐ ๊ฒ€์ฆ ๊ฐ์ฒด ๊ตฌํ˜„

* [STMT-151] โž• JWT, OpenFeign, QueryDSL ์˜์กด์„ฑ ์ถ”๊ฐ€

* [STMT-151] โœจ OAuth2 ๋กœ๊ทธ์ธ/ํšŒ์›๊ฐ€์ž… ๊ธฐ๋Šฅ ๊ตฌํ˜„ (#16)

* [STMT-151] ๐Ÿ”ง QueryDSL ์„ค์ •

* [STMT-151] โœจ API ๊ณตํ†ต ์‘๋‹ต ๊ฐ์ฒด ๊ตฌํ˜„

* [STMT-151] โœจ ํด๋ผ์ด์–ธํŠธ์—๊ฒŒ ์ „๋‹ฌ๋ฐ›์€ Access Token์„ ์ด์šฉํ•˜์—ฌ kakao์— ์œ ์ € ์ •๋ณด ์š”์ฒญ ๊ธฐ๋Šฅ ๊ตฌํ˜„

* [STMT-151] โœจ OAuth ๋กœ๊ทธ์ธ ์ •๋ณด๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ๋„๋ฉ”์ธ ์ •์˜

* [STMT-151] โœจ ์นด์นด์˜ค ์œ ์ € ์ •๋ณด ์กฐํšŒ ์‘๋‹ต ๊ฐ์ฒด ์ •์˜

* [STMT-151] โœจ OAuth ํšŒ์›๊ฐ€์ž…/๋กœ๊ทธ์ธ ๊ธฐ๋Šฅ ํ•„ํ„ฐ ๊ตฌํ˜„

* [STMT-151] โœจ OAuth ํšŒ์›๊ฐ€์ž… / ๋กœ๊ทธ์ธ ์ธ์ฆ ํ”„๋กœ๋ฐ”์ด๋” ๊ตฌํ˜„

* [STMT-151] โœจ JWT ์ธ์ฆ ํ•„ํ„ฐ ๊ตฌํ˜„

* [STMT-151] โœจ ๊ถŒํ•œ ๋ถ€์กฑ ๋ฐ ๋ฏธ์ธ์ฆ ์œ ์ €๊ฐ€ ์š”์ฒญ์‹œ ์˜ˆ์™ธ๋ฐœ์ƒ์— ๋Œ€ํ•œ ์˜ˆ์™ธ ํ•ธ๋“ค๋Ÿฌ ์ถ”๊ฐ€

* [STMT-151] โœจ ๊ตฌํ˜„ํ•œ ํ•„ํ„ฐ ์‹œํ๋ฆฌํ‹ฐ ํ•„ํ„ฐ ์ฒด์ธ์— ๋“ฑ๋ก

* [STMT-151] โœจ ํšŒ์›๊ฐ€์ž… ์ถ”๊ฐ€์ •๋ณด ์ž…๋ ฅ API ๊ตฌํ˜„

* [STMT-6] ๐Ÿ‘ท CI-CD workflow ์ˆ˜์ • - ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ • (#17) (#18)

- ํŒŒ์ผ ์ด๋ฆ„ ๋ณ€๊ฒฝ
 - github-actions.yml -> ci-cd.yml
- gitignore์— application-secret.properties ํŒŒ์ผ ์ถ”๊ฐ€

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>

* [STMT-6] ๐Ÿ‘ท ci-cd ์›Œํฌํ”Œ๋กœ์šฐ๊ฐ€ ์‹คํŒจํ•˜๋Š” ์›์ธ ๊ทœ๋ช… ๋ฐ ๋ฌธ์ œ ํ•ด๊ฒฐ (#19)

* [STMT-6] ๐Ÿ‘ท CI-CD workflow ์ˆ˜์ • - ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ • (#17)

- ํŒŒ์ผ ์ด๋ฆ„ ๋ณ€๊ฒฝ
 - github-actions.yml -> ci-cd.yml
- gitignore์— application-secret.properties ํŒŒ์ผ ์ถ”๊ฐ€

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>

* [STMT-6] ci-cd.yml event trigger ์ˆ˜์ •

* [STMT-6] ci-cd.yml ๋ฌธ๋ฒ• ์˜ค๋ฅ˜ ์ˆ˜์ •

step-Checkout์—์„œ uses ์•ž ๋Œ€์‰ฌ ์‚ญ์ œ

---------

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>

* [STMT-6] ๐Ÿ”ง ๊ฐœ๋ฐœ ํ™˜๊ฒฝ๋ณ„ yml ์„ค์ • ํŒŒ์ผ ์ž‘์„ฑ (#20)

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>

* [STMT-6] ๐Ÿ’š CI/CD dev ํ…Œ์ŠคํŠธ

* [STMT-6] prod ์„ค์ •ํŒŒ์ผ๋กœ ๋นŒ๋“œํ•˜๋Š” ์„ค์ • ์ถ”๊ฐ€

* [STMT-6] ๐Ÿ’š CICD ํ…Œ์ŠคํŠธ์šฉ์œผ๋กœ event triger์— ์ถ”๊ฐ€ํ•œ ์ฝ”๋“œ ์‚ญ์ œ

branch `dev` ์ œ์™ธ

* [STMT-6] ๐Ÿ”ฅ prod ์„ค์ • ํŒŒ์ผ์˜ security logging ์„ค์ • ์ฝ”๋“œ ์ œ๊ฑฐ

* [STMT-6] ๐Ÿ”ฅ ci-cd ์›Œํฌ ํ”Œ๋กœ์šฐ์˜ ๋””๋ฒ„๊ทธ ์ฝ”๋“œ ์ œ๊ฑฐ

* [STMT-6] ๐Ÿ”ฅ ci-cd ์›Œํฌ ํ”Œ๋กœ์šฐ ์ˆ˜์ • - docker compose ๋ฐฐํฌ ๋ช…๋ น์–ด

* [STMT-6] ๐Ÿš€ docker-compose.yml ์ƒ์„ฑ

---------

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>
Co-authored-by: tngtied <tngtied@gmail.com>
Co-authored-by: tngtied <75424805+tngtied@users.noreply.github.com>

* โœจ [STMT-146] S3 ํŒŒ์ผ ์—…๋กœ๋“œ ์ธํ„ฐํŽ˜์ด์Šค ๊ตฌํ˜„

* ๐Ÿšš [STMT-146] ์—…๋กœ๋“œํ•œ file url์„ ๋ฐ›๋Š” FileUrl ์œ„์น˜ ๋ณ€๊ฒฝ

- domain์ด๋ผ๊ธฐ ๋ณด๋‹ค๋Š” ์™ธ๋ถ€ dto์— ๊ฐ€๊น๊ธฐ ๋–„๋ฌธ์— `port`-`out`์œผ๋กœ ์œ„์น˜ ๋ณ€๊ฒฝ

---------

Co-authored-by: zxcv9203 <41960243+zxcv9203@users.noreply.github.com>
Co-authored-by: tngtied <tngtied@gmail.com>
Co-authored-by: tngtied <75424805+tngtied@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D-0 ๋ฐ”๋กœ ๋ฆฌ๋ทฐ๊ฐ€ ํ•„์š”ํ•ด์š”
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants