장현서 [Sprint 8] AWS 배포 및 CI/CD 심화 구현 - #135
Open
totobabo01 wants to merge 8 commits into
Open
Conversation
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.
요구사항
기본
/actuator/health를 통한 애플리케이션 상태 확인심화
latest태그와 Git Commit SHA 태그 적용주요 변경사항
main대상 Pull Request 및mainPush 시 자동으로 테스트가 실행되도록 구성했습니다.main브랜치 기준 테스트 커버리지가 정상적으로 집계되는 것을 확인했습니다.AWSS3Test는RUN_AWS_S3_TESTS=true환경에서만 실행되도록 설정하여 CI 환경에서 AWS Profile 부재로 테스트가 실패하지 않도록 개선했습니다.RUN_AWS_S3_TESTS=true설정 후 실제 S3 연동 테스트가 정상적으로 통과하는 것을 확인했습니다.main에서release로 변경했습니다.main,release브랜치의 GitHub OIDC 접근을 허용했습니다.latest태그를 동시에 생성하도록 수정했습니다.latest태그로 Push하도록 구성했습니다.release브랜치 Push를 통해 실제 GitHub Actions CD Workflow를 실행하고 배포 성공을 확인했습니다.discodeit-task:7이 적용되고 Task가 정상적으로 RUNNING 상태가 되는 것을 확인했습니다.latest태그가 모두 생성된 것을 확인했습니다.테스트 및 검증
main브랜치 Push CI Test 성공main브랜치 커버리지 정상 집계latest이미지 태그 생성 확인SUCCESS확인discodeit-appRUNNING 확인/actuator/health정상 응답 확인스크린샷
멘토에게
RUN_AWS_S3_TESTS=true환경변수가 설정된 경우에만 실행되도록 구성했습니다.release브랜치 Push를 기준으로 실행되며, Docker 이미지는latest와 Git Commit SHA를 모두 태그로 사용합니다.