Add fast dev UDS delivery and disposable bundle cleanup #84
No reviewers
Labels
No labels
app-migration
bug
ci-cd
cluster
Documentation
duplicate
enhancement
gpu
invalid
networking
question
security
Storage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Homelab/workflows!84
Loading…
Reference in a new issue
No description provided.
Delete branch "kiyi/dev-bundle-lifecycle"
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?
Dev iteration currently repeats production scans and has no owning workflow to discard an unused bundle and its data. Add an explicit
scan_profile: devfor dev-only bundling/deployment. It retains history/tree secret checks, immutable images, signed provenance, archive integrity, managed credentials and target/health checks, while skipping heavyweight source/image scans, malware, SBOMs and their tool downloads. Production defaults and fully scanned same-archive promotion remain intact; production rejects dev-only receipts.Add a protected manual cleanup implementation, defaulting to a read-only plan. Removal checks the installed release marker, managed namespace labels and volume/claim UIDs, requires the exact namespace confirmation, and removes only the dev package and namespace. Dynamic CSI backing storage must deprovision; named Retain volumes require reviewed allowlisting. Declared external PostgreSQL databases use restricted dev Secret references, verified TLS and a fixed cleanup Job after writers stop. Database failures prevent namespace removal. Unsupported static/shared storage is refused. Expired historical mitigations do not prevent uninstall.
Cleanup authority is per-app opt-in through the paired platform change. Unflagged apps preserve their contracts. The template adopts matching build/deploy/cleanup callers at proposed release v1.32.0; v1.31.0 public-asset support is incorporated from current main.
Validation: 286 source tests completed, 272 passed and 14 skipped (11 existing conditional/integration skips plus three Linux socket-path tests unavailable on Windows). Bash was explicitly selected for Windows canary checks. Separately validated all workflow YAML, 62 Bash scripts and 24 canary gate cases. No local container build or live deletion was run. Hosted Linux integration, publication, per-app adoption, platform reconciliation, CSI/database removal and empty recreation acceptance remain required.
Refs #83. Keep that issue open for rollout acceptance.
WIP: Add fast dev UDS delivery and disposable bundle cleanupto Add fast dev UDS delivery and disposable bundle cleanupkiyi referenced this pull request2026-10-11 19:45:58 -05:00