I have a template that’s building out an application shell. The application itself ships with a stock circleci config that does all my linting/testing and that’s working well.
The template itself also has a separate circleci config, that generates a “sampleapp” version of the application, and then runs the sampleapp’s test suite. I’m doing this with a shell script right now, but what I’d really like to do is after generating the sample app I’d like to run the circleci pipeline that was just generated.
Is there a way to dynamically embed that pipeline into my core template without duplicating it?
The two template files can be seen at: