deploy applies a snapshot's manifest to a mount's local dir WITHOUT pushing a new head — blue/green for /var/www boxes. History stays untouched; the mount is pinned (config.Mount.Pinned) so the daemon won't live-advance it back to head. Re-mount clears the pin. - syncer.Deploy + shared applySnapshot helper (Restore now reuses it) - config.Mount.Pinned; daemon skips pinned mounts - CLI: devbox deploy <share> <snapshot> (prefers the --ro mount); status shows pinned - test: deploy applies v1 while hub head stays v2 (the no-push property) |
||
|---|---|---|
| .. | ||
| deploy_test.go | ||
| hooks_integration_test.go | ||
| pull.go | ||
| pull_test.go | ||
| restore_test.go | ||
| syncer.go | ||
| syncer_test.go | ||