Created
October 5, 2021 08:43
-
-
Save andrasKelle/4a7d32c8e2caf73ad6de273ae6c9ab8b to your computer and use it in GitHub Desktop.
Example CI configuration for generated pipelines
This file contains hidden or 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