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

chore: 컨테이너 배포를 위한 jib 설정 #7

Merged
merged 2 commits into from
May 27, 2023

Conversation

KimDoubleB
Copy link
Member

컨테이너 배포를 위한 jib 설정을 추가했습니다.

  • Dockerhub를 기준으로 설정했습니다. 돈도 없으니, 무료로 가시죠. (추후 필요하면 변경!)
    • 계정은 제 계정으로 테스트했는데, 저희 구글 계정으로 하나 만들어서 활용하면 될 듯 합니다.
  • 기본적으로 필요한 jvm options 추가해봤습니다. 필요없거나, 필요할 것 같은거 있으시면 리뷰 부탁드립니다.
  • profile에 따라 active profile, container name이 설정되도록 구성했습니다.
    • 일단 dev, release 만 사용할 것을 고려해서 구성했습니다.
    • build용이다보니 함수 그냥 러프하게 작성했는데 이상하면 리뷰주세요.
      • release: ./gradlew :moit-api:jib -Prelease
      • dev: Profile 추가 안한 상태로 jib 빌드하면 기본적으로 dev 설정. ex)./gradlew :moit-api:jib

Copy link
Member

@xonmin xonmin 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
Contributor

@SeongYunKim SeongYunKim left a comment

Choose a reason for hiding this comment

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

LGTM!! jvm option은 일단 이대로 가도 괜찮을 듯 합니다~

@KimDoubleB KimDoubleB merged commit 1530873 into feature/multi-module May 27, 2023
KimDoubleB added a commit that referenced this pull request May 28, 2023
@xonmin xonmin deleted the chore/jib branch May 29, 2023 09:44
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.

4 participants