4 ms·
We have shared libraries and maven plugins setup. This is a situation where I really wish we used a monorepo and I could just do one commit across 100 microserv
by Sevii 9y ago
We have shared libraries and maven plugins setup. This is a situation where I really wish we used a monorepo and I could just do one commit across 100 microservices using grep and other tools to update pom.xml files. I have read whitepapers from google on how they support this kind of operation, but I need it for many git repos.
- ynezz 9y agoThis sounds like StackOverflow question. Anyway, if you're proficient in Java, why don't you write small app which will iterate over all Git repo dirs, modifies the files, makes commit, push and creates PRs? Not a big deal, right?
- Sevii 9y agoThat is the current plan, combined with plenty of manual work verifying jenkins jobs and deployments.
- assafmo 9y agoIf you can do it if there was just one repo, then juat clone those 100 repos under the same parent directory and execute the script in the parent directory
- assafmo 9y agoand then in a loop commit the changes