stages: - generate generate-child-pipeline: stage: generate image: alpine:latest script: - apk add --no-cache bash - ./ci-scripts/generate-pipeline.sh > child-pipeline.yml artifacts: paths: - child-pipeline.yml trigger: include: - artifact: child-pipeline.yml job: generate-child-pipeline strategy: depend