Conversation
기존 작성된 dockerfile을 기준으로 ci가 잘 이루어지는지 테스트
단순 변수명 수정
docker login 방식 수정
secret read test
secret read test
fix secret name
gitaction ssh 접속을 통한 직접적인 cd작업
gitaction ssh 접속을 통한 직접적인 cd작업
gitaction ssh 접속을 통한 직접적인 cd작업 directory 확실히 생성
ci cd workflow 설정, eof -> tt 로 변경
cd test
cd test
cd test
docker-compose-server depend on 수정을 통해 한번에 실행해도 중단되는 것이 없도록 수정
prometheus.yml을 포함하여 보내고 server 내부에서 compose 테스트 해보기
prometheus.yml을 포함하여 보내고 server 내부에서 compose 테스트 해보기
Update docker-cd.yml with aws t3.medium
user service에서 db연결 오류 수정, 이외의 다른 사항 확인완료, ec2 환경에서 잘 실행되는지 테스트 진행용
merge 진행후 다시 테스트 진행
merge 진행후 다시 테스트 진행
merge 진행후 다시 테스트 진행
merge 진행후 다시 테스트 진행
cd의 workflows run의 경우 default branch에서만 작동한다는 부분을 확인-> 테스트를 위해 cd 만 별도로 실행 시도
cd의 workflows run의 경우 default branch에서만 작동한다는 부분을 확인-> 테스트를 위해 cd 만 별도로 실행 시도
cd의 workflows run의 경우 default branch에서만 작동한다는 부분을 확인-> 테스트를 위해 cd 만 별도로 실행 시도
env secret의 참조 방법 수정
env 파일 작성방식 수정
env 파일 작성방식 수정
restart 삭제, application.yml 수정
가장 최신의 dev를 기준으로 다시 테스트 진행
uuid error
…to Ci/#91-cicd-gitaction
fix /data and add payment
fix /data and add payment
fix /data and add payment
fix /data and add payment
fix /data and add payment
fix /data and add payment
fix /data and add payment
fix /data and add payment
fix /data and add payment
mysq의 경우 tmp를 통해 임시db를 만들면서 db가 생성되는데 ubuntu에서 db생성시 container 내부에서 mysql 이라는 임시 유저를 생성해 tmp에 접근하려 하지만 ubuntu 환경에서는 tmp 디렉토리에 접근하는 권한 설정이 되어있어 접근하지 못하고 정상적으로 db가 실행되지 못함.
postgresql에는 binary가 없음 -> uuid로 변경
PAYMENTS_DB_USERNAME -> PAYMENT_DB_USERNAME
cd 과정에서 init-scrips 추가
mysql jpa 관련 파일 삭제 수정
db내에서 생성시점 전이라 id가 없는 문제 발생
권한 문제 발생
권한 문제 발생
init을 통해 directory 생성 및 권한 부여
volume 경로 수정
provisioning directory push
prometheus.yml target 수정
cache 직렬화 관련 수정
ec2 서버 http 테스트, CacheConfig 직렬화 수정
Closed
zzu-uzz
approved these changes
May 1, 2025
Collaborator
zzu-uzz
left a comment
There was a problem hiding this comment.
수정 사항 전부 확인했습니다 고생하셨습니다 🙏🏻
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
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.
💡 이슈
resolve #91
🤩 개요
docker + githubaction aws 서버 ci cd + 버그 픽스
🧑💻 작업 사항
docker ci (dockerhub image), mysql -> postgresql db 변경, prometheus, grafana 권한 설정, reservation uuid null -> save를 통해 uuid 해결, flight cache config 역직렬화 오류 수정, server 용 httpclient test 작성, githubaction cd 및 필요한 파일 업로드
📖 참고 사항
고정된 ip주소 43.203.66.111