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.
- Click on the three dots
⋯
next to the refresh button in the top bar. - Select
+ Create new branch
. - Name this branch
dev
. - Verify that
Create new branch from
displaysmain
.
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 labeledy42__{space_name}__dev
. This dataset will house all the materialized assets that are published on thedev
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.