If you migrate your multirepo to a monorepo, or if your project is getting big enough to consider running only part of continuous integration (CI) - then it can make sense to run only those parts of CI that could have been affected by the change. Thi...
how-to.dev5 min readHi. Tks for this article. I always have a big question about this Workflow.
What happen if I merge into main a super feture which work and run perfectly on PR/MR but when run on main there was a small error in a yml file or some missconfiguring file? The code was already merged but no one of the changes was deployed. So I fix the yml but non of the paths defined in change/rules where touched then nothing will de deployed… We cann’t just re run the last failed pipeline because it always checked out agains the old commit..
There is no way to run the same projects that failed unless I touch some files (with empty spaces or enter or whatever change). This is ugly for me.
One idea came up, what if I always build all projects on main but when deploy the docker images that hasn’t changed won’t be deployed
Any ideas? Thanks
I really like your approach. Just have one question:
How can I manually trigger an explicit sub-project with this? For example I want to run only backend-build from within the Gitlab Interface or just frontend-deploy without triggering lets say 100 other jobs.
This is a very nice solution, much more elegant than something I've had on the go for the past year. Thanks for sharing!
Honsemiro
지금 당장 필요한 설명이었습니다!