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

#9 [feat] CD 워크플로우 구축 #10

Merged
merged 21 commits into from
Jan 3, 2024
Merged

#9 [feat] CD 워크플로우 구축 #10

merged 21 commits into from
Jan 3, 2024

Conversation

sohyundoh
Copy link
Member

@sohyundoh sohyundoh commented Jan 2, 2024

✒️ 관련 이슈번호

Key Changes 🔑

  1. Health Check Actuator 의존성 추가
  2. Dockerfile 작성
  3. CD.yml 워크플로우 파일 작성

  1. issue [feat] 엔티티 도메인 작성 #6 에서 구현했던 도메인 작성에서 image 변수를 생각해보니, 정확히 말하면 이미지의 Url을 담는 것이기 때문에 imageUrl로 변수명 변경해주었습니다!

To Reviewers 📢

build 폴더 아래 내용들을 gitignore에 추가하느라 build 내부 클래스들이 삭제된 것이지 실제 클래스가 삭제된 게 아닙니다!
아래 아키텍처를 구축했습니다! 리드미에 추가해주시면 될 것 같아요!
image

겪었던 삽질...정리 내용입니다!
https://unnamedwritings.notion.site/Docker-CD-bf3d1c79ac424811b70f85c98624ad97?pvs=4

Application 실행할 때 아래와 같은 SQL syntax에러가 발생해서 내일 해결해보겠습니다!

	at com.mile.ApiApplication.main(ApiApplication.java:9) ~[main/:na]
Caused by: java.sql.SQLException: Failed to open the referenced table 'moim'
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:130) ~[mysql-connector-j-8.1.0.jar:8.1.0]
	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.1.0.jar:8.1.0]
	at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:763) ~[mysql-connector-j-8.1.0.jar:8.1.0]
	at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:648) ~[mysql-connector-j-8.1.0.jar:8.1.0]
	at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) ~[HikariCP-5.0.1.jar:na]
	at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) ~[HikariCP-5.0.1.jar:na]
	at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:80) ~[hibernate-core-6.4.1.Final.jar:6.4.1.Final]
	... 37 common frames omitted

@sohyundoh sohyundoh requested a review from parkheeddong January 2, 2024 12:18
@sohyundoh sohyundoh self-assigned this Jan 3, 2024
Copy link
Contributor

@parkheeddong parkheeddong left a comment

Choose a reason for hiding this comment

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

트러블 슈팅 정리까지 상세히 해주셨네요 ㅠㅠ 정말 고생하셨습니다!

@sohyundoh sohyundoh merged commit 064c462 into develop Jan 3, 2024
3 checks passed
@sohyundoh sohyundoh deleted the feat/#9 branch January 3, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] CD 플로우 설계
2 participants