kosa8 cloud sandbox
Make, list, run in, sleep, wake and remove cloud sandboxes
Also known as: sandboxes, sbx
Example#
kosa8 cloud sandbox create --json kosa8 cloud sandbox ls kosa8 cloud sandbox exec sbx_abc -- python3 -V kosa8 cloud sandbox rm sbx_abc
Subcommands#
kosa8 cloud sandbox createMake a cloud sandbox: a template's pooled VM, or one of a size, image and disk
kosa8 cloud sandbox drainDelete every sandbox of a run (or with a label, or named); their disks are wiped
kosa8 cloud sandbox execRun a command in a cloud sandbox, or start one in the background
kosa8 cloud sandbox exec-statusShow a background command: running or exited, its exit code and output
kosa8 cloud sandbox exec-stopStop a background command and what it started
kosa8 cloud sandbox forkMake live copies of a cloud sandbox as it is now, memory and processes included
kosa8 cloud sandbox getShow one cloud sandbox
kosa8 cloud sandbox gradeGrade a sandbox in a sealed fork: hidden files, no network, a reward
kosa8 cloud sandbox heartbeatExtend the leases of a run's (or the labelled, or the named) sandboxes
kosa8 cloud sandbox labelReplace a cloud sandbox's labels (filter on them with sandbox ls --label)
kosa8 cloud sandbox lsList the organization's cloud sandboxes
kosa8 cloud sandbox prnext release Push a sandbox's changes and open a pull request on GitHub
kosa8 cloud sandbox pushnext release Commit a sandbox's changes to its repo and push them to a branch on GitHub
kosa8 cloud sandbox reponext release Show a sandbox's GitHub repo: branch, commit and what changed
kosa8 cloud sandbox rmDelete cloud sandboxes; their disks are wiped
kosa8 cloud sandbox sleepSnapshot a sandbox and free its memory; it pays only for disk until it wakes
kosa8 cloud sandbox wakeRestore a sleeping sandbox now, rather than on its next exec