Docs
7. Manage environments

Manage environments

Overview

In Y42, branches play a crucial role in managing your data assets and version-controlled pipeline development. This guide will walk you through the process of setting up a separate branch, specifically named dev.

Instructions

Create a New Branch

Start by creating a new branch in your Y42 environment.

  1. Click on the three dots ⋯ next to the refresh button in the top bar.
  2. Select + Create new branch.
  3. Name this branch dev.
  4. Verify that Create new branch from displays main.

Access Space Settings

  • Navigate back to the space settings that you accessed in the previous steps.

Navigate to the Feature Tab

  • Once inside the space settings, proceed to the Feature tab.

Enable Publishing for the Dev Branch

  • Click on the plus button located in the Published views section.

  • Search for dev and select the branch.

    By incorporating the dev branch to the published branches, Y42 will generate a new dataset labeled y42__{space_name}__dev. This dataset will house all the materialized assets that are published on the dev branch.

Conclusion

Branching in Y42 allows for a structured and organized workflow for your data assets. By setting up separate branches, you can manage different versions of your data, test new features, and ensure that your main branch remains stable. The dev branch, as set up in this guide, serves as an example, but the process can be replicated for any other branch you wish to create.