Feature spotlight: Sandbox actions
Sandboxes are dynamic preview environments launched from a Git branch, tag, or pull request. A feature unique to Buddy, they remove the requirement for additional staging infrastructure, allowing developers to faster collect feedback from the clients and properly test the product before the release.
Each sandbox can be provisioned with dedicated actions. For example, you can upload files to the sandbox from your pipeline filesystem, or start/stop a sandbox on a predefined condition. This way you can create workflows such as the one below, which launches a sandbox every time a new branch is created in the repository and destroys it when the branch is removed:
Image loading...
What's new
The current roster of sandbox actions looks like this:
- Transfer to sandbox
- Create sandbox
- Operate sandbox
- SSH to sandbox
- Download from sandbox (new)
Image loading...
Transfer to sandbox
This action lets you upload your applaction to the selected sandbox from your repository or pipeline filesystem. It works pretty much like other deployment actions in Buddy.
Image loading...
Create sandbox
Here you can launch a new sandbox from either the base sandbox, a snapshot, or custom settings.
Image loading...
Operate sandbox
This action combines a couple of old sandbox actions into one entity. You can use it to start, stop, destroy, or snapshot a certain sandbox according to specified conditions, a use case that we described in detail in our blog post on the new pipeline trigger events.
Image loading...
SSH to sandbox
This type of SSH lets you run basically any command on the sandbox, just like on any other remote.
Image loading...
Download from sandbox
The newest addition to the pack is sandbox download. This one is useful for downloading the outcome of operations performed on the sandbox.
Image loading...
Jarek Dylewski
Customer Support
A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.