Possible to view/archive flattened pipeline yml?

Hi All -

Just starting to get into gitlab ci. I’ve been experimenting with the recent ability to use external pipeline definition (https://gitlab.com/gitlab-org/gitlab/issues/14376), as well as :include and :extends keywords.

I was was wondering if it is possible to view the expanded yml file, and perhaps archive it as part of the pipeline? (I’m thinking something similar to viewing the output of a C-preprocessor).