feat: enhance lab tool with hybrid update functionality

- Add deploy-rs integration: lab deploy-rs <machine> [--dry-run]
- Add flake update command: lab update-flake
- Add hybrid update: lab hybrid-update [target] [--dry-run]
- Successfully tested deploy-rs on sleeper-service
- Hybrid approach combines flake updates with deploy-rs safety
- Deploy-rs provides automatic rollback and health checks
- All commands maintain existing SSH/Tailscale connectivity
This commit is contained in:
Geir Okkenhaug Jerstad 2025-06-15 10:26:50 +02:00
parent bc9869cb67
commit 40add46b67
3 changed files with 161 additions and 19 deletions

12
flake.lock generated
View file

@ -54,11 +54,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1748929857,
"narHash": "sha256-lcZQ8RhsmhsK8u7LIFsJhsLh/pzR9yZ8yqpTzyGdj+Q=",
"lastModified": 1749794982,
"narHash": "sha256-Kh9K4taXbVuaLC0IL+9HcfvxsSUx8dPB5s5weJcc9pc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c2a03962b8e24e669fb37b7df10e7c79531ff1a4",
"rev": "ee930f9755f58096ac6e8ca94a1887e0534e2d81",
"type": "github"
},
"original": {
@ -70,11 +70,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1749024892,
"narHash": "sha256-OGcDEz60TXQC+gVz5sdtgGJdKVYr6rwdzQKuZAJQpCA=",
"lastModified": 1749727998,
"narHash": "sha256-mHv/yeUbmL91/TvV95p+mBVahm9mdQMJoqaTVTALaFw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8f1b52b04f2cb6e5ead50bd28d76528a2f0380ef",
"rev": "fd487183437963a59ba763c0cc4f27e3447dd6dd",
"type": "github"
},
"original": {