resolved .gitlab-ci.yml file for a pipeline using includes
Problem to solve
How can i resolve a .gitlab-ci.yml
file for a certain pipeline, when using includes.
Intended users
Developers
Further details
For example, using includes with a include:file from another project b.
-
Pipeline is running with a certain
.gitlab-ci.yml
file for project a. -
Changing included template file in project b.
-
Pipeling is running again with a certain
.gitlab-ci.yml
file for project a.
What i would like to know now is, how can i determine what the .gitlab-ci.yml
file looked like for a certain pipeline.
At the moment, the only thing i can think of is using the /ci/lint
tool and paste in a .gitlab-ci.yml
file and see what the includes will resolve. But that is only for the moment using the tool and not for the moment a pipeline ran.
Proposal
Not sure yet what this can look exactly. Maybe there is a way to store the .gitlab-ci.yml
file next to a pipeline as artifact or sth else?