관측 프로비저닝 SSM 로드를 공용 블록 호출로 교체 - #949
Merged
Merged
Conversation
- provision-runtime.sh 4절의 SSM 자격 조회(약 15줄)를 걷어내고 TeamPiKi/infra#50 의 공용 블록 provision-alloy-ssm.sh 호출로 대체. 같은 로직이 extractor·renderer 에도 복제돼 있어, 경로나 실패 정책이 바뀌면 세 곳을 함께 고쳐야 하고 하나만 빠뜨리면 그 박스만 조용히 어긋났다 - deploy.yml 업로드 목록에 그 블록을 더했다 - 블록이 형제 경로의 provision-alloy.sh 를 부르므로 같은 alloy/ 하위에 안착해야 한다 - 동작·실패 정책은 그대로다(필수 5종 중단, traces 빈 값 허용) - 같은 계약이 블록으로 옮겨졌고 그 계약은 블록의 self-test 15케이스가 고정한다 - 전환기 잔재 정리(구 team3-alloy 제거)는 core 고유라 이 스크립트에 남긴다 - AWSCLI_IMAGE 는 mysql SSM pull 이 계속 쓰므로 유지하되, alloy 가 더는 쓰지 않는다는 것을 주석에 반영
|
Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다. |
|
Important Review available on request
Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Plus 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 |
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
provision-alloy.sh를 호출한다"는 로직은 core·extractor·renderer 세 곳에 복제된 것이었다. 셋 다 같은 SSM 경로(/piki/observability/grafana-*)·같은 필수/선택 구분·같은 dockerized aws-cli 를 쓰고, 다른 건--box·--environment값뿐이었다.fs_types_exclude가 기본값을 대체하는데squashfs한 항목이 빠져/snap시계열이 누수된 것)와 같은 종류다.blocks/alloy/provision-alloy-ssm.sh로 추출됐다 (self-test 15케이스 포함).Task
Action
provision-runtime.sh4절의 SSM 조회 로직을 걷어내고provision-alloy-ssm.sh호출로 대체했다.deploy.yml업로드 목록에 그 블록을 더했다 — 블록이 형제 경로의provision-alloy.sh를 부르므로 같은alloy/하위에 안착해야 한다.team3-alloy제거)는 core 고유라 이 스크립트에 남겼다.Result
--box·--environment값과 fetch 뿐이다.연관 이슈