Skip to main content Link Menu Expand (external link) Document Search Copy Copied

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

  1. Create a workspace for development (e.g. My Workspace (dev))
    1. Open the drop-down menu
    2. Select New workspace
    3. Provide a workspace name in the Name * field
    4. Click Save
  2. Create another workspace for staging (e.g. My Workspace (staging))
  3. Set the staging workspace active environment to staging in workspace settings
    1. Open the drop-down menu
    2. Select Settings
    3. Provide the name of the active environment in the Active environment field
    4. Click Save
  4. Create another workspace for production (e.g. My Workspace)
  5. Set the production workspace active environment to prod
  6. Make changes and test in the development workspace
  7. 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
    
  8. 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