-
Notifications
You must be signed in to change notification settings - Fork 0
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
#4 배포 파이프라인 구성 #5
Closed
Closed
Conversation
This file contains 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
Actuator 테스트를 위해 csrf, formLogin 기능을 무효화한 기본 설정 파일을 생성했습니다.
헬스 체크를 위한 Actuator 의존성을 추가했습니다. 열릴 엔드포인트는 [health, info] 입니다.
특정 브랜치에 Push Event 발생 시 Github Runner VM에 의해 배포 파이프라인이 동작합니다.
EC2_HOST -> DEV_EC2_HOST EC2_USERNAME -> DEV_EC2_USERNAME EC2_PRIVATE_KEY -> DEV_EC2_PRIVATE_KEY EC2_SSH_PORT -> DEV_EC2_SSH_PORT
Setup Java 17에서 distribution 설정이 없던 버그를 수정했습니다.
Java Buildpack 4.0 기본 메모리 옵션이 t2.micro 스펙을 넘어서기 때문에 free tier 환경에 맞게 수정했습니다.
코드 리뷰 요청합니다 🙆 @h-beeen |
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.
Issue ticket link and number
Describe changes
Summary
배포 파이프라인 과정
git submodule update --remote --recursive
명령어를 통해 설정 정보를 불러온다../gradlew test
명령어를 통해 테스트를 진행한다../gradlew clean bootBuildImage -PDOCKERHUB_ID=$DOCKERHUB_ID -P DOCKERHUB_TOKEN=$DOCKERHUB_TOKEN
명령어를 통해 스프링 부트 프로젝트를 이미지화한 후, Dockerhub에 업로드한다. (이 때 DOCKERHUB_ID, DOCKERHUB_TOKEN 인자를 github repo secrets에서 가져온다.)Notification for Reviewer
@h-beeen