배포 스크립트 실행 경로 및 docker-compose 파일 참조 수정#148
Merged
ckdals4600 merged 1 commit intomainfrom Dec 18, 2025
Merged
Conversation
📊 코드 커버리지 리포트
|
minibr
approved these changes
Dec 18, 2025
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.
관련 이슈
PR 설명
1. 경로 참조 로직 개선
BASH_SOURCE와dirname을 사용하여 스크립트가 위치한 디렉토리를 기준으로REPO_ROOT와COMPOSE_FILE경로를 동적으로 설정함.docker-compose.yml파일이 지정된 경로에 실제로 존재하는지 확인하는 방어 로직을 추가함.2. 스크립트 리팩토링
sudo docker compose -p ... -f ...구문을${COMPOSE}변수로 정의하여 코드 중복을 제거함.${COMPOSE}변수로 교체하여 유지보수성을 높임.