Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

EN | ES

Table of Contents
Info

This functionality is available from version 2.1.0-gradius onwards.

...

The new version of the FlowEngine supports the integration with Git to store the developed flows, based in versioning of the flows developed from the NodeRED Project featureconcept.

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

When creating a project we , you will have to select the name of our .json for the flows, user and mail related to the Git account. Then a local repository will be created.This (apart from a name and what you want your stream .json to be called) a user and email to associate it with GIT, since it will create a local repo where you 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

Every time you “deploy” a change in your flowsWhen you are working and "deploying", in the “history” tab we new "history" tab you can see the changes we have madethat you have been making on your flows. There are two buttons, one to revert the all uncommitted changes and the other one to add the changes to a the commit:

...

Once the changes are added, we you can commit them by clicking the “commit” button below: 

...

An origin can be set by clicking in just below, adding the message you want:

...

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

...

When you have an associated origin is set, the pull/push buttons will appear in the history tab., you will see, in the history part, the possibility, not only to see the commits, which are already seen by default without the associated origin, but also to pull or push:

...

From this the same "history" menu in the FlowEngine UI of the FlowEngine , you can create and change between branches and push/pull /push your changes.

By clicking in It also makes it easy to see diff's in commits. If you click on a commit, a list containing the “diff” of appears with all the components will be shown. and what has changed:

...