Versioning and Branching
Raindrop’s branching and versioning capabilities help you manage development environments for your AI applications. These features allow teams to work independently by creating isolated environments for both compute resources and data.
Branching Basics
Every Raindrop project starts with a main branch, similar to a main branch in Git. From this main, you can create additional branches to isolate your development work. Each branch maintains its own copy of computing resources and data.
To create a new branch:
raindrop build branch <branch-name>
Working with Sandboxes
Sandboxing provides a way to update an existing branch without creating a new one. By default newly created applications are set to sandboxing mode. Sandboxing is useful during development when you need to:
- Test changes quickly
- Iterate on a specific branch
- Validate updates before committing them
To create a sandbox of your current branch:
raindrop build sandbox
For more precise control, you can sandbox a specific version:
raindrop build sandbox <VERSION ID>
To update your sandboxed deployment:
raindrop build deploy --amend