[P16] Prevent deploy git reset from clobbering .env #122

Closed
opened 2026-03-23 13:23:48 +00:00 by kert · 0 comments
Owner

deploy does git reset --hard which overwrites .env. Provision must run AFTER the reset, not before. Ensure .env.bak/restore wraps the entire reset+provision+restart sequence atomically.

deploy does git reset --hard which overwrites .env. Provision must run AFTER the reset, not before. Ensure .env.bak/restore wraps the entire reset+provision+restart sequence atomically.
kert added this to the P16: Provision Hardening — resilient credential rotation milestone 2026-03-23 13:23:48 +00:00
kert added the ci label 2026-03-23 13:23:48 +00:00
kert closed this issue 2026-03-23 13:29:58 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#122