feat(deploy): add guarded existing-ECS broker migration tooling
Discover the current Compose project and all override files from container labels. Add read-only preflight plus prepare/check/build/activate/rollback commands without editing the running .env, CA, database volumes or unrelated services. Preserve heterogeneous application image identities for rollback. Prepare a private keyring, independent router credential, pinned source snapshot and additive connector/router overlay. Refuse key overwrite and configuration/image drift. Build offline from the exact existing ARM64 runtime, smoke import and validate role settings through stdin-only inputs. Require explicit v2 client readiness before activation and recreate only connector/router with --no-deps. Document actual backup/image evidence, current client limitation and token-lifecycle rollback boundaries. Validation: 239 passed, 3 skipped (real PostgreSQL absent), 30 existing dependency deprecation warnings. Add 26 mocked Docker policy tests; host script parses as Python 3.7, CLI help/docs/diff checks pass. Docker policy mocks are not actual Compose or ARM64 build validation. No remote files, keys, credentials, containers or live configuration were changed. Stage 5 operational acceptance remains pending actual ECS build, real databases/platform, v2 client, key recovery and controlled rollout.
This commit is contained in:
@@ -20,3 +20,6 @@ deployable/runtime/
|
||||
deployable/backups/
|
||||
deployable/wheelhouse/
|
||||
deployable/images/
|
||||
**/credential-keyring.json
|
||||
**/compose.broker.json
|
||||
**/compose.rollback.json
|
||||
|
||||
Reference in New Issue
Block a user