Conversation
- 정리가 배포 마지막에 있어 디스크가 찬 상태에서는 pull 이 먼저 죽고 그 줄에 도달하지 못한다. renderer 가 같은 배치로 2026-09-13 배포에 실패했다. 이 박스도 dangling 만 지우고 있어 sha 태그가 35개·7.9GB 쌓여 있었다 - shared-infra 의 prune_images.sh 를 run_container 호출 앞에서 부른다. 정리 후 여유가 10GB 미만이면 배포를 그 자리에서 끊어, pull 이 절반 받고 죽는 대신 원인이 드러난다 - 기준 10GB 는 네 앱 박스 공통이다(볼륨 25GB 통일, TeamPiKi/infra#94). 보존 개수를 세는 로직은 없다 - 실행 중 컨테이너의 이미지는 정리 대상이 아니라 blue-green 두 슬롯의 이미지가 자동으로 남는다 (TeamPiKi/infra#92)
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 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. Comment |
|
Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다. |
- 한 줄에 이어 붙이던 source 를 항목당 한 줄로 바꾸고 블록을 알파벳순으로 둔다. core 가 이미 이 형식이라 세 repo 의 같은 단계가 보기에도 같아진다 - 값은 그대로다. scp-action 은 콤마와 줄바꿈을 같은 구분자로 읽는다(core 배포로 실증)
- 같은 숫자를 세 repo 호출부에 복제하지 않는다. 기준은 함대 정책이라 블록이 기본값 10 을 갖고(TeamPiKi/infra#97), 기준을 바꿀 때 infra 한 곳만 고치면 다음 배포부터 반영된다 - 박스 사정이 다른 서비스가 생기면 그때 --min-free-gb 로 덮어쓴다 (TeamPiKi/infra#92)
- 블록은 전부 bash <경로> 로 부르므로 실행 권한이 필요 없다. core 는 애초에 이 줄이 없고 같은 방식으로 돌고 있다 - 지우는 실익은 유지 비용이다. 블록을 추가할 때마다 이 목록에 이름을 넣어야 하는데 빠뜨려도 아무 일이 없어, 있으나 마나 한 단계가 하나 줄어든다 - 직접 실행하는 provision-observability.sh 의 chmod 는 그대로 둔다 (TeamPiKi/infra#92)
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.
Situation
blocks/prune_images.sh를 이 repo 가 소비하는 단계다.Task
Action
prune_images.sh를 업로드 목록과 chmod 목록에 추가한다.run_container.sh호출 앞에서--min-free-gb 10으로 부른다.docker image prune -f를 제거한다.여유 N MB < 필요 10240MB로 끊는다Result
연관 이슈