Spawn makes it easier to include the database as an automated component in your DevOps pipeline.
The Spawn service does this by creating ("Spawning") databases that more accurately represent what's in production, and in a way that reduces the burden of infrastructure and data management.
This guide explains how Spawn works, and how to control it via the command-line.
If you're new to Spawn, we'd recommend following the steps below.
Download and install Spawn
Spawn is currently accepting applications for the private beta programme.
Apply for the beta programme. If you're accepted onto the programme you'll be able to download Spawn and follow the instruction below in order to install it.
- Download spawnctl
- Add the folder containing spawnctl to the path
Mac and Linux
- Run this
curl -sL https://run.spawn.cc/install | sh
- Add spawnctl to your path
Verify the CLI is installed by running
On-board to Spawn
- Authenticate to the Spawn service
- Onboard to the Spawn service
To pull and run the spawnctl container image, spawnctl
docker run --rm redgatefoundry/spawnctl
Standard interactive authentication using
spawnctl authwill not work for docker containers
Use one of the following methods to access spawn using access token:
docker run --rm -e SPAWNCTL_ACCESS_TOKEN:<access-token-string> redgatefoundry/spawnctl
- Append --accessToken to
docker run --rm redgatefoundry/spawnctl get all --accessToken <access-token-string>