YAML for Manage sandbox
Manage sandbox operations like start, stop, snapshot, or delete.
YAML examples for Manage sandbox
Start a sandbox via manage action
yaml- action: "Start Sandbox" type: "SANDBOX_MANAGE" operation: START referenced_action_name: "Create Sandbox"
Stop a sandbox via manage action
yaml- action: "Stop Sandbox" type: "SANDBOX_MANAGE" operation: STOP referenced_action_name: "Create Sandbox"
Delete a sandbox via manage action
yaml- action: "Delete Sandbox" type: "SANDBOX_MANAGE" operation: DELETE referenced_action_name: "Create Sandbox"
Create a snapshot via manage action
yaml- action: "Create Snapshot" type: "SANDBOX_MANAGE" operation: CREATE_SNAPSHOT snapshot_name: "snapshot-$BUDDY_EXECUTION_ID" referenced_action_name: "Create Sandbox"
Start application via manage action
yaml- action: "Start Application" type: "SANDBOX_MANAGE" operation: APP_START referenced_action_name: "Create Sandbox"
Stop application via manage action
yaml- action: "Stop Application" type: "SANDBOX_MANAGE" operation: APP_STOP referenced_action_name: "Create Sandbox"
Restart application via manage action
yaml- action: "Restart Application" type: "SANDBOX_MANAGE" operation: APP_RESTART referenced_action_name: "Create Sandbox"
Start Sandbox app with targets
yaml- action: "Start Sandbox app" type: "SANDBOX_MANAGE" targets: - create-sb-node operation: APP_START
Restart Sandbox app with targets
yaml- action: "Restart Sandbox app" type: "SANDBOX_MANAGE" targets: - create-sb-node operation: APP_RESTART
Stop Sandbox with targets
yaml- action: "Stop Sandbox" type: "SANDBOX_MANAGE" targets: - create-new-sandbox operation: STOP
Create snapshot with filter
yaml- action: "Create snapshot" type: "SANDBOX_MANAGE" targets: - target: create-* type: MATCH scope: PROJECT tags: - myTag snapshot_name: name-snapshot-$BUDDY_RUN_ID operation: CREATE_SNAPSHOT