C
C
comalex32018-10-18 12:57:45
git
comalex3, 2018-10-18 12:57:45

How to synchronize microservices?

There are 4 applications written in python, a node plus a react front, and two databases - mongo and muscle. Communicate through rest and through the database. Everything is actively developing, the structure and versions are changing. The question is how to build a process using git so that at any time you can raise the previous working version.
Now I'm doing this:
In each repository, when deploying through jenkins, a tag with a version will be created. By tags, in the end, I can assemble a working code base, it’s already harder with the database, the dump becomes obsolete, I have to make a migrating date.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2018-10-18
@inoise

GitFlow Release Branch and don't forget to version endpoint url

A
aol-nnov, 2018-10-18
@aol-nnov

by tags, as a result, I can assemble a working code base

It's right
not at all. you write migrations in both directions (forward in versions and back) and sequentially roll. There are even tools that automate this work.
You store migrations in the git along with the code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question