Repository navigation
계정 이관 rewire 의 사이드 repo 배선 누락 보완 - #1175
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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 알림 연동이 끊깁니다. |
- prod 이관의 rewire 가 extractor·renderer repo 수준 배포 역할 변수를 신 계정 값으로 교체 - extractor AWS_ECR_PUSH_ROLE_ARN · renderer AWS_DEPLOY_ROLE_ARN - 원인: 세 repo 배포가 잡은 역할의 계정에서 Name 태그로 박스를 찾음. 역할 변수가 곧 배포 대상 계정 - 원인: 2차 이관 뒤 extractor 가 6일간 켜져 있던 구 계정 박스로 배포 성공(#1174) - 두 박스는 전 환경 공용이라 prod 이관에서만 동작 - 역할 ARN 은 infra_apps 의 기본 name_prefix 이름으로 IAM 에 조회 - 원인: 두 역할은 각 repo terraform state 소관 - 대안: 사이드 repo checkout 뒤 terraform output - 기각: rewire 에 checkout·init 두 벌 추가. Name 태그 박스 확인도 이미 이름 고정 - 값을 못 얻거나 쓰기가 거부되면 rewire 를 부분 실패로 종료 - core Environment 의 EC2_HOST 쓰기 제거 - 원인: SSM 경유 전환(#1219) 뒤 core·extractor·renderer 어느 워크플로도 EC2_HOST 를 읽지 않음 - rewire 가 deploy_core 의 앱 IP 를 더는 쓰지 않아 needs 에서 deploy_core 제거 - finalize 수동 정리 안내 갱신 - EC2_HOST 행 삭제. rewire 실패 때 두 사이드 repo 역할 행 표시 - 경고 문구의 고정 건수 삭제. rewire 성공 시 역할 항목 없음 - 구 앱 박스 주소 해소 주석의 참조 정정 - deploy.yml 의 EC2_HOST 검증을 도메인 가드로 교체
- 996918499382 를 현재 계정 731770491043 으로 교체 - 원인: 2차 이관 finalize 수동 정리 항목이 남음 - 위험: 그대로 두면 다음 이관이 이미 떠난 계정을 원본으로 삼음
- rewire job 이 done 출력을 노출. finalize 가 job 결과 대신 그 값으로 수동 행 표시 - 원인: CROSS_REPO_TOKEN 이 없으면 rewire 가 아무것도 안 바꾸고 success 로 끝남 - 원인: 직전 커밋이 경고 문구의 역할 항목을 rewire 성공 시 빼서 그 경우 안내가 사라짐(리뷰 지적) - 실패·건너뜀·토큰 없음 전부 미완료로 표시
m-a-king
force-pushed
the
infra/1174-migrate-rewire-side-repos
branch
from
October 19, 2026 12:07
c45d0cb to
6ad129f
Compare
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.
한눈에
계정 이관 뒤 extractor·renderer 배포 대상 계정 교체
Situation
원인 확인
Task
이관 배선 보완
EC2_HOST) 갱신 제외EC2_HOST를 읽지 않음OLD_ACCOUNT_ID갱신 추가Action
rewire 가 사이드 repo 배포 역할까지 교체
AWS_ECR_PUSH_ROLE_ARNpiki-extractor-gha-ecr-pushAWS_DEPLOY_ROLE_ARNpiki-headless-browser-gha-deployname_prefix기준core
EC2_HOST쓰기 제거EC2_HOST쓰기 삭제deploy_core제거EC2_HOST행 삭제EC2_HOST검증을 가리키던 주석을 도메인 가드로 정정finalize 의 역할 안내 기준을 rewire 완료 여부로 전환
CROSS_REPO_TOKEN이 없으면 rewire 가 아무것도 안 바꾸고 success 로 끝남rewire 미완료로 표시OLD_ACCOUNT_ID갱신core GitHub 설정 잔재 삭제 (코드 밖)
AWS_ECR_PUSH_ROLE_ARN·AWS_DB_PROVISION_ROLE_ARNEC2_HOST·EXTRACTOR_PROD_ADDRESSEC2_HOSTAWS_DB_PROVISION_ROLE_ARNResult
검증
A && B || C패턴 info 1건위험
CROSS_REPO_TOKEN의 extractor·renderer Variables 쓰기 권한 확인 불가후속
MIGRATE_SOURCE_AWS_*secret 새로 등록연관 이슈