fix(deploy): build ki-deploy-helper from repo when missing (KI-446) #108
Commits were merged into target branch
-
2 weeks ago
-
| Submitter | syntropicagent |
| Target | main |
| Source | feat/ki12-safe-wallet |
Jobs
Merge Strategy
Create Merge Commit
Fix: ki-deploy-helper image vanishes between deploys (KI-446)
Problem: deploy-staging (KI-446) failed with
Unable to find image 'ki-deploy-helper:latest'โ the same class of failure as KI-439. The docker executor prunes the locally-built helper image between runs, so the deploy job can't rely on it persisting on the host.Fix:
deploy/helper/Dockerfile(context-independent โ no COPY/ADD, so any build context works)docker image inspect ki-deploy-helperand builds it from the repo when missing, before running the deployWhy this is durable: the image definition is now version-controlled (in the repo, reviewed via PR, part of the checkout) instead of a hand-maintained artifact at
/opt/ki-deploy-helper/. Even if the executor prunes it every run, the deploy self-heals.Verified
tod build check-specpasseski-deploy-helper:latest)Refs KI-446 (deploy) ยท follow-up to KI-107