• Blog
  • Introducing: New Sandbox actions
Introducing: New Sandbox actions

February 3, 2022

Introducing: New 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:

You can reproduce this pipeline by following the instructions in our last week's entry on new pipeline trigger events.

What's new

Following the recent updates to Buddy's design, the team took the opportunity and revamped the existing sandbox actions. Some of them are new, and some have been collected into a single entity. Currently, there are four actions in the sandbox roster:

  1. Transfer to sandbox
  2. Create sandbox
  3. Operate sandbox
  4. SSH to sandbox

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.

Create sandbox

Here you can launch a new sandbox from either the base sandbox, a snapshot, or custom settings.

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.

SSH to sandbox

The last action in the series lets you run basically any command on the sandbox, just like on any other remote.

Important notice

The feature is restricted to paid accounts only and is active in all paid accounts registered prior to November 20, 2020, by default. If you'd like to activate the sandboxes in your workspace, let us know at the livechat below or at support@buddy.works.

Alexander Kus

Alexander Kus

Customer Success Manager

A story-teller and conversation-lover, Alexander decided to invest his skills to help his friends at Buddy transform the cold language of patch notes into exciting narratives. Also: an avid gamer, hip-hop DJ, Liverpool FC fan, absentminded husband, and the father of two.