Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

EN | ES

This functionality is available from version 2.1.0-gradius onwards.

Introduction

The new version of the FlowEngine supports the versioning of the flows developed from the NodeRED Project concept.

Once the project is activated, new elements will be shown in the menu of NodeRED, as well as a pop-up notification telling us that projects are available the first time you enter the UI with your user.

When creating a project, we will have to select (apart from a name and what we want our stream .json to be called) a user and email to associate it with GIT, since it will create a local repo where we can store the commits.

This local repository will be mounted in a persisted volume shared with the container in /tmp/[usuario]/[nombreProyecto].

How to use it

When we are working and "deploying", in the new "history" tab we can see the changes that we have been making on our flows. There are two buttons. One to revert all uncommitted changes and one to add the changes to the commit:

Once added, we can commit just below, adding the message we want:

From the menu Projects -> Projects settings, wecan add an origin. In the example, we have created a private project in GitLab and associated it:

Once we have an associated origin, we will see in the history part the possibility (not only see the commits, which are already seen by default without the associated origin) to pull or push:

From the same "history" menu in the FlowEngine UI, wecan create and change branches and push/pull our changes.

It also makes it easy to see diff's in commits. If we click on a commit, a list appears with all the components and what has changed:

 

  • No labels