-
-
Save faniska/378479d2714dc8bc56f946204b686352 to your computer and use it in GitHub Desktop.
Example CI configuration for generated pipelines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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