Skip to content

배포 조립을 deploy_slot 블록 호출로 교체 - #84

Merged
m-a-king merged 1 commit into
mainfrom
infra/83-deploy-slot-block
Sep 21, 2026
Merged

m-a-king merged 1 commit into
mainfrom
infra/83-deploy-slot-block

Conversation

@m-a-king

Copy link
Copy Markdown
Collaborator

Situation

사본 정리

Task

배포 조립을 deploy_slot 블록 호출로 교체

Action

조립 구간 교체

이전 이후
결정·잔재 정리·기동·헬스·전환·종료 인라인 58줄 deploy_slot.sh 호출 1개
--name·--publish·metrics 포트 라벨을 슬롯 변수로 조립 블록이 채움
run_container --replace 제거. 잔재 정리를 블록이 먼저 함
  • 값(슬롯·포트·헬스 간격·횟수·검증 명령·메모리·라벨)은 전부 호출부에 남음
  • 구현: 업로드 목록에 shared-infra/blocks/deploy_slot.sh · chmod 를 디렉토리 전체로

Result

동작 변화 없음

  • 순서·timeout 상한·실패 시 정리 범위 동일
  • 위험: 실검증은 머지 배포. 실패 시 기존 슬롯 유지

연관 이슈

- 슬롯 결정·잔재 정리·기동·슬롯 헬스·전환·구 슬롯 종료 58줄을 블록 호출 하나로
  - 슬롯·포트·헬스 값·검증 명령은 인자, run_container 인자는 -- 뒤
  - --name·--publish·metrics 포트 라벨은 블록이 채움
  - --replace 제거
    - 원인: 잔재 정리를 블록이 먼저 함
- 업로드 목록에 deploy_slot.sh 추가. chmod 는 디렉토리 전체로
@m-a-king m-a-king linked an issue Sep 18, 2026 that may be closed by this pull request
@m-a-king m-a-king added the infra 운영 환경 (IaC·클라우드 리소스·secret·배포 workflow) label Sep 18, 2026
@m-a-king m-a-king self-assigned this Sep 18, 2026
@coderabbitai

coderabbitai Bot commented Sep 18, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: c43ddc54-d266-4c69-b34d-6e6b698e5d0f


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다.

@m-a-king
m-a-king merged commit e5b598a into main Sep 21, 2026
5 checks passed
@m-a-king
m-a-king deleted the infra/83-deploy-slot-block branch September 21, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra 운영 환경 (IaC·클라우드 리소스·secret·배포 workflow)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

배포 조립을 deploy_slot 블록 호출로 교체

1 participant