How to - Sharing a data image
Working with a consistent dataset is important when in a team environment, but can cause issues when the data size grows. Sharing a data image with Spawn allows all members of your team to be able to quickly create data containers, all getting the same starting point but being isolated from each other's changes. You can also share data images created using the graduate command, allowing you to share changes you've made to your data container such as recreating a bug.
Spawn is currently in open beta. Complete the installation instructions to get access.
This is part of a series of short guides for getting up and running quickly with Spawn.
#
PrerequisitesIn order to be able to share data images within your team, you and your teammates must be members of the same Spawn organization. Once you have successfully signed up with the Spawn service, you can add further users to your Spawn organization by running:
Now when the new user signs up with Spawn, they will be placed in your Spawn organization. Any other members of your team can be added to your Spawn organization in the same way. You can then follow the rest of the steps below to start sharing data images with your team.
note
If the users you want to share images with have already signed up to Spawn, please contact us and we will move those users into your Spawn organization manually.
#
Sharing with teamsSharing data images with Spawn is built on top of GitHub groups, allowing you to share a data image with any group that you are a member of, giving access to all its members.
GitHub groups are in the format of
organization:groupname
You can share a data image both during and after creating the image, we'll cover both below.
#
During image creationWhen creating an image, we can share it with teams at the same time by adding them to the image definition file.
- Create a file
developmentshared.yaml
with your data image specifications.
- Run the create data-image command to create and share the data-image.
#
After image creationShare an existing data image using the update command.
#
Identifying shared data imagesWhen viewing data images, any images which have been shared will have values in the Teams
column.
#
Using your data imageNow you have a data image available and shared with team members, you can all create data containers and have access to the same data, in your own isolated environments.