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 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 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
Every time you “deploy” a change in your flowsWhen we are working and "deploying", in the “history” new "history" tab we can see the changes that we have madebeen making on our flows. There are two buttons, one . 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 can commit them by clicking the “commit” button below:
...
An origin can be set by clicking in just below, adding the message we want:
...
From the menu Projects -> Projects settings, wecan add an origin. In this the example, we have created a private project in GitLab and associated it to our project:
...
When Once we have an associated origin is set, the pull/push buttons will appear in the history tab., 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 this the same "history" menu in the UI of the FlowEngine you can FlowEngine UI, wecan create and change between branches and push/pull /push your our changes.
By clicking in It also makes it easy to see diff's in commits. If we click on a commit, a list containing the “diff” of appears with all the components will be shown. and what has changed:
...