fix(deploy): 승격/재배포 바인딩 재적용(소스 교체 반영) — 0.24.3
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@ -297,9 +297,10 @@ def main() -> None:
|
||||
src_ids[req["name"]] = reconcile_source(req)
|
||||
for w in workloads:
|
||||
dep_id, created = deploy_workload(w)
|
||||
if DRY or created: # 기존 배포는 PATCH(롤링)로 바인딩 유지 → 신규일 때만 바인딩
|
||||
for b in w.get("binds", []):
|
||||
bind(dep_id, b["alias"], src_ids.get(b["source"]), b["source"])
|
||||
# 바인딩은 매 배포마다 재적용(멱등·재바인딩) — 승격/소스변경 시 별칭이 '새 소스'를 가리키게.
|
||||
# (기존엔 신규 생성 때만 bind → shared→전용 등 소스 교체가 반영 안 되고 옛 env 에 고착되던 버그)
|
||||
for b in w.get("binds", []):
|
||||
bind(dep_id, b["alias"], src_ids.get(b["source"]), b["source"])
|
||||
log("완료 — 콘솔 앱 탭에서 배포/바인딩 확인" if not DRY else "완료(dry-run) — 실제 변경 없음")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user