ci(deploy): pin base images, cached builds, retried up -d, cache pruning #77
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gertjan/bodega!77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/deploy-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hardening from the 2026-07-07 deploy incident:
an unpinned python:3.14-slim silently adopts whatever the registry serves
on deploy day — interpreter/libc drift no CI run tested. Same for the uv
copy stage. Digest bumps become deliberate, reviewable PRs.
invalidates the dependency layer correctly; --no-cache only added a
~10-minute five-image build/unpack I/O storm per deploy — heavy enough
to fail bodega-mongodb's healthcheck mid-deploy, which aborted
docker compose up -dafter the old containers were already removed andleft the stack down.
up -dtwice (30/60 s backoff) so a transiently unhealthydependency doesn't strand freshly recreated containers in Created.
after each deploy.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01JRnthdVhGGt5FeSQ8m3aUA