Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example CI configuration for generated pipelines
stages:
- child-pipeline-generator
- child-pipeline-trigger
generate-child-pipeline:
stage: child-pipeline-generator
image: python:3.9-slim-buster
script:
- python3 main.py
artifacts:
paths:
- child-pipeline-gitlab-ci.yml
trigger-child-pipeline:
stage: child-pipeline-trigger
trigger:
include:
- artifact: child-pipeline-gitlab-ci.yml
job: generate-child-pipeline
strategy: depend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment