feat(resource): add --clone-into to container-instance and fix devcontainer-instance sandbox strategy
- Adds a --clone-into option to the container-instance command to clone repository contents into a specified path during container setup. - Fixes the devcontainer-instance sandbox strategy to ensure proper isolation, correct mount permissions, and deterministic behavior across environments. - Updates related validation and error handling to reflect the new option and sandbox changes. ISSUES CLOSED: #7555
This commit is contained in:
@@ -121,7 +121,7 @@ Feature: DevcontainerHandler missing protocol methods
|
||||
And dcproto the container is in RUNNING state
|
||||
And dcproto a mock sandbox manager that returns a valid sandbox
|
||||
When dcproto I create a sandbox for the resource with plan "plan-001"
|
||||
Then dcproto the sandbox result should have strategy "none"
|
||||
Then dcproto the sandbox result should have strategy "snapshot"
|
||||
And dcproto the sandbox result should have a sandbox path
|
||||
|
||||
Scenario: dcproto create_sandbox activates container when in DETECTED state
|
||||
|
||||
Reference in New Issue
Block a user