The main repository is hosted in gitlab.com/intellidrone/api but it is automaticaly mirrored to github.com and to gitlab.com/intellidrone/apis/old. If you are in the Github page it may occur that is not updated to the last version.
- Default branch when pull is DEVELOP.
- Master branch is protected and it is not possible to push. Create a merge request instead.
- MASTER BRANCH: it creates a docker image with node with the tag intellidrone/api:latest and it applies node server in webagro production server.
- DEVELOP BRANCH: it creates a docker image with node with the tag intellidrone/api:develop and it applies node server in webagro development server.
To upload code in production, you must have a gitlab user credentials and server public key in base64 format. Then, executes the following code:
./upload_to_node_server.sh production USER PASSWORD
To upload code in development, use the following:
./upload_to_node_server.sh development USER PASSWORD
The image name is: intellidrone/api. Available TAGs:
- latest: from master branch.
- develop: from develop branch.
© Singleton, Argentina, 2018.