Pipeline child projects clarification

Describe your question in as much detail as possible:

  • What are you seeing, and how does it differ from what you expect to see?
    I have some problems with using child pipelines and things related to them. I have one repository with SPA client and one with python application. Generally client pipeline installs the npm dependencies, runs tests and build static/templates directory on app side. Python side installs requirements and runs tests and app. I use shell runner. I struggle with proper pipeline I read documentation but not sure how pipeline architecture should looks like. I splitted it into child pipelines but now everytime both jobs are run and both of them reinitialize git repository, I feel something is wrong with that approach. What should be cached? Does template/static directory should be artifacts? If so, how can I use them? I would appreciate som examples I could lear how to do it from.

  • What version are you on (Hint: /help) ? and are you using self-managed or gitlab.com?
    gitlab.com

Thank you!