Skip to content

Conversation

@hyerinhwang-sailin
Copy link
Collaborator

@hyerinhwang-sailin hyerinhwang-sailin commented Sep 2, 2025

Related issue 🛠

Work Description ✏️

첫 배포 시 종료되는 문제 수정 (deploy.sh grep 뒤에 || true 추가)

  • set -euo pipefail 환경에서 grep no-match 시 종료(상태 1)되어 스크립트가 중단되던 이슈
  • DOCKER_PS_OUTPUT 계산 라인에 || true 추가하여 러닝 컨테이너가 없어도 정상 진행
  • 재부팅/전체 prune 등으로 컨테이너가 없는 초기 상태에서도 안전하게 배포 가능

변경 파일: script/deploy.sh

테스트: 컨테이너 미가동 상태에서 deploy.sh 실행 → app-blue 기동, nginx reload, health check 200 확인

Trouble Shooting ⚽️

Related ScreenShot 📷

Uncompleted Tasks 😅

To Reviewers 📢

@height
Copy link

height bot commented Sep 2, 2025

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@hyerinhwang-sailin hyerinhwang-sailin self-assigned this Sep 2, 2025
@hyerinhwang-sailin hyerinhwang-sailin added 🚀 Deploy 배포 관련 🛠️ BugFix 버그 해결 labels Sep 2, 2025
@hyerinhwang-sailin hyerinhwang-sailin merged commit 3dce83a into main Sep 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛠️ BugFix 버그 해결 🚀 Deploy 배포 관련 size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant