g-market / b-shop-backend

0 stars 0 forks source link

feat: docker-compose 환경 구성 - [merged] #51

Closed halucinor closed 1 year ago

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 1, 2023, 15:24

Merges feature/docker -> develop

작업 내용

로컬 환경과 통합 테스트 코드를 작성할 때 mysql8을 제공

mem:h2는 개발 환경인 mysql8 데이터베이스 모드를 지원하지않기에 테스트 컨테이너를 구성하려고합니다.

docker-compose를 통해 docker-compose 명령어를 통해 빠르게 환경을 구성 (Redis, MySQL8)

스크린샷

로컬 환경

image

테스트 환경

image

주의사항

Closes #13

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 1, 2023, 15:24

requested review from @AnTaeWook

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 1, 2023, 15:34

added 1 commit

Compare with previous version

halucinor commented 1 year ago

In GitLab by @rkdud1108 on Feb 1, 2023, 15:42

approved this merge request

halucinor commented 1 year ago

In GitLab by @AnTaeWook on Feb 1, 2023, 15:42

Commented on src/main/java/com/gabia/bshop/repository/MemberRepository.java line 9

미사용 코드나 추후 사용예정인 코드는 주석처리보다는 삭제하는 것이 혼동이 적을 것 같습니다~.~

halucinor commented 1 year ago

In GitLab by @AnTaeWook on Feb 1, 2023, 15:42

Commented on src/test/java/com/gabia/bshop/TestContainerTest.java line 31

halucinor commented 1 year ago

In GitLab by @AnTaeWook on Feb 1, 2023, 15:42

Commented on src/test/java/com/gabia/bshop/integration/IntegrationTest.java line 12

이건 개인적인 취향인데, 레디스 버전이 더 자세히 명시되면 좋을 것 같습니다!

halucinor commented 1 year ago

In GitLab by @halucinor on Feb 1, 2023, 15:43

approved this merge request

halucinor commented 1 year ago

In GitLab by @halucinor on Feb 1, 2023, 15:43

이슈 번호 기록 부탁드립니다.

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 1, 2023, 15:47

넵! 수정하였습니다.

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 1, 2023, 15:51

Commented on src/test/java/com/gabia/bshop/integration/IntegrationTest.java line 12

redis:6.2.7 버전, mysql:8.0.31 버전으로 고정하였습니다.

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 1, 2023, 15:53

Commented on src/main/java/com/gabia/bshop/repository/MemberRepository.java line 9

changed this line in version 3 of the diff

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 1, 2023, 15:53

Commented on src/test/java/com/gabia/bshop/TestContainerTest.java line 31

changed this line in version 3 of the diff

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 1, 2023, 15:53

Commented on src/test/java/com/gabia/bshop/integration/IntegrationTest.java line 12

changed this line in version 3 of the diff

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 1, 2023, 15:53

added 4 commits

Compare with previous version

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 1, 2023, 17:00

Commented on src/test/java/com/gabia/bshop/TestContainerTest.java line 31

명시적으로 테스트 이름을 변경하였습니다.

given, when, then 도 추가하였는데 어때욥?

halucinor commented 1 year ago

In GitLab by @AnTaeWook on Feb 1, 2023, 17:01

Commented on src/test/java/com/gabia/bshop/TestContainerTest.java line 31

좋아욥!

halucinor commented 1 year ago

In GitLab by @AnTaeWook on Feb 1, 2023, 17:01

approved this merge request

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 1, 2023, 17:01

mentioned in commit 344e97b34987e406e8e6a76a0d4f538d88bd89ae

halucinor commented 1 year ago

In GitLab by @AnTaeWook on Feb 1, 2023, 17:01

mentioned in commit ad82c0b6534d5da549c6e919e539d8476fd325fa

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 3, 2023, 16:08

mentioned in commit 9c16a60c780f845cdac78060ec57e59a4244b34d

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 6, 2023, 10:37

mentioned in commit 4ee5427a2ce3988a8aadadac4b863c600999b7ba

halucinor commented 1 year ago

In GitLab by @halucinor on Feb 6, 2023, 11:46

mentioned in commit e655d4df0d0592fb74779289c3d33dd09f3c922c

halucinor commented 1 year ago

In GitLab by @halucinor on Feb 6, 2023, 13:13

mentioned in commit dd5c000e4b21c7e38f3b4c9157bb9486fd90ec35

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 6, 2023, 13:17

mentioned in commit 5383262241f0a1c2ad96b7dc4f6f363d76d3ce46

halucinor commented 1 year ago

In GitLab by @halucinor on Feb 6, 2023, 15:32

mentioned in commit ea9e44b741bd93908283f1a012d409d9a27d2d03

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 8, 2023, 11:06

mentioned in commit 9ed3224c688bdca7b7db11ae0b6dae306eb6b2b0

halucinor commented 1 year ago

In GitLab by @haaeee on Feb 8, 2023, 14:20

mentioned in commit 89de7246ed62d2195cc7895ea1c67804b5c285c2

halucinor commented 1 year ago

In GitLab by @halucinor on Feb 21, 2023, 12:59

mentioned in commit 9a043ac60e0ac7fde962795a9ff59eaf4f2e8b42

halucinor commented 1 year ago

In GitLab by @haaeee on Mar 7, 2023, 10:00

mentioned in commit 07d25fd7dbcc3ecadd855f90f140b2f2b61d3c1f

halucinor commented 1 year ago

In GitLab by @halucinor on Mar 8, 2023, 17:23

mentioned in commit 2e0e481faed37aba8c40035da5d200b28c6ed1af

halucinor commented 1 year ago

In GitLab by @halucinor on Mar 8, 2023, 22:35

mentioned in commit 9b6efe6bde5fbf30a19e6118d5a5900e2e962383

halucinor commented 1 year ago

In GitLab by @rkdud1108 on Mar 18, 2023, 12:58

mentioned in commit f69407b6bce153198d48f198c33983b58b0e3a85