Skip to content

Ci/#91 cicd gitaction#111

Merged
earthkid0 merged 62 commits intodevfrom
Ci/#91-cicd-gitaction
May 2, 2025
Merged

Ci/#91 cicd gitaction#111
earthkid0 merged 62 commits intodevfrom
Ci/#91-cicd-gitaction

Conversation

@kss123456789
Copy link
Collaborator

💡 이슈

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

kss123456789 and others added 30 commits April 24, 2025 13:11
기존 작성된 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 로 변경
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
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 생성 및 권한 부여
provisioning directory push
prometheus.yml target 수정
cache 직렬화 관련 수정
ec2 서버 http 테스트, CacheConfig 직렬화 수정
@kss123456789 kss123456789 linked an issue May 1, 2025 that may be closed by this pull request
Copy link
Collaborator

@zzu-uzz zzu-uzz left a comment

Choose a reason for hiding this comment

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

수정 사항 전부 확인했습니다 고생하셨습니다 🙏🏻

Copy link
Collaborator

@earthkid0 earthkid0 left a comment

Choose a reason for hiding this comment

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

확인했습니다

@earthkid0 earthkid0 merged commit 43f0b6d into dev May 2, 2025
29 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI/CD 및 배포

3 participants