How to release products inside monorepo?

I talked about monorepos, because I think that this is a great solution for my team and the current state of our projects. We have several web products (client portal, internal portal, API, core code).

Where I'm trying to find the answer I want to find is the version.

What is a version control strategy when all your projects and products are inside monorepo?

  • Is version 1 suitable for everyone?
  • Git submodules with independent version control (like breaking a point with mono repo)
  • Another strategy?

And from the CI point of view, when you are doing something in project A, you have to run the entire test suite in all projects to make sure nothing breaks, although there was not necessarily a change to the dependency / common module?

+6
source share
1 answer

What is a version control strategy when all your projects and products are inside monorepo?

I would suggest that one version is suitable for everyone for the following reasons:

  • When releasing your products, you can mark the entire branch as release-x.x.x, for example. If errors occur, you won’t need to check which version of XXX was YYY using "
  • It also makes it easy to force this version xxx from the XXX version xxx from YYY. Essentially, synchronizing your projects. How you do this, of course, depends on what technology your projects are written on.

CI, - A, , , , / ?

, . . , .

- , VCS script, , . VCS CI.

+2

All Articles