Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PHPLive 2021 - Gitlab CI dynamic child & parent...

PHPLive 2021 - Gitlab CI dynamic child & parent-child pipelines

Introduction to Gitlab CI parent-child pipelines and dynamic child pipelines.

Code: https://github.com/JanMikes/phplive-2021-gitlab-ci-parent-child-pipelines

Avatar for Jan Mikeš

Jan Mikeš

October 01, 2021
Tweet

Other Decks in Programming

Transcript

  1. WHAT IS PARENT-CHILD PIPELINE? Similarly to multi-project pipelines, a pipeline

    can trigger a set of concurrently running child pipelines, but within the same project
  2. WHY PARENT-CHILD PIPELINE? ‣Too big .gitlab-ci.yml fi le ‣Ineffective blocking

    stages ‣Imports complexity + collisions ‣Pipeline UX
  3. WHAT IS DYNAMIC-CHILD PIPELINE? Instead of running a child pipeline

    from a static YAML fi le, you can de fi ne a job that runs your own script to generate a YAML fi le, which is then used to trigger a child pipeline.