Common pipeline for all projects

Hi,

I have many project which has same build & deployment process.
I have to implement common pipeline for applications.

So, I have created new project for common pipeline. It’s structure is:
.gitlab-ci.yml
| include local: pipelines/dev.yml
pipelines (folder)
|
dev.yml
qa.yml
prod.yml
| include local: utils/build.yml
utils (folder)
|
build.yml
deploy.yml

In My application project, I am including common pipeline-

include:

  • project: ‘group/common-pipeline’
    ref: gitlab
    file: ‘.gitlab-ci.yml’

So, Issues is my application pipeline is getting only main file from remote project- .gitlab-ci.yml
Pipeline is failing as other files are not getting loaded.
How do I load all configurations/yml file from remote pipeline project to app project?
I tried different approaches but no luck.

Thanks