Promoting Changes with DataOps
Time required: 10 minutes
Prerequisites
You must have already:
- Signed up for a Matatika account
Introduction
DataOps is an Agile approach to managing and improving the efficiency, quality and reliability of data within an organisation. Using environments and multiple workspaces, it is possible to implement a development-to-production DataOps workflow for a project.
Promoting changes between workspaces
- Create a workspace for development (e.g.
My Workspace (dev)
)- Open the drop-down menu
- Select
New workspace
- Provide a workspace name in the
Name *
field - Click
Save
- Create another workspace for staging (e.g.
My Workspace (staging)
) - Set the staging workspace active environment to
staging
in workspace settings- Open the drop-down menu
- Select
Settings
- Provide the name of the active environment in the
Active environment
field - Click
Save
- Create another workspace for production (e.g.
My Workspace
) - Set the production workspace active environment to
prod
- Make changes and test in the development workspace
- When ready, merge changes from the development workspace into the staging workspace (the repository URL for each workspace can be found in workspace settings)
git clone [email protected]:MatatikaBytes/My-Workspace-staging-kklcdol cd My-Workspace-staging-kklcdol git remote add dev [email protected]:MatatikaBytes/My-Workspace-dev-zgtzhjd git pull -X theirs --allow-unrelated-histories dev main # ensure everything is correct before pushing git push
- When ready, merge changes from the staging workspace into the production workspace
git clone [email protected]:MatatikaBytes/My-Workspace-setarqi cd My-Workspace-setarqi git remote add staging [email protected]:MatatikaBytes/My-Workspace-staging-kklcdol git pull -X theirs --allow-unrelated-histories staging main # ensure everything is correct before pushing git push