I have a question regarding GItlab CI setup. As per the documentation, it states that the “.gitlab-ci.yml” file should need to be in the root folder of the repository. But my project setup is such that I have a root folder which internally contains 5 sub-projects (APIs projects, UIs, backend services etc). Each of these sub-projects have their own root folder. I want these sub-projects to be individually build and deploy based on the changes I make in them. In other words, each of these sub-projects should need to have its own CI/CD pipeline, which indirectly means i need to have a separate “.gitlab-ci.yml” file for each one of them.
So my question is how can I handle this requirement? I can’t have a single .gitlab-ci.yml file placed in the parent folder and build and deploy sub-projects individually? Is there any possibility to handle this other than setting up individual gitlab projects for each of these sub-projects?