This commit is contained in:
anthorob committed 2025-07-08 12:12:20 -04:00
1 parent d9b1b0f6fd
commit a38a43cb9b
1 file changed
+8 -1
+8 -1
View File
@@ -1,17 +1,24 @@
stages: stages:
- generate - generate
- deploy
generate-child-pipeline: generate-child-pipeline:
stage: generate stage: generate
image: alpine:latest image: alpine:latest
script: script:
- apk add --no-cache bash - apk add --no-cache bash
- ./ci-scripts/generate-pipeline.sh > child-pipeline.yml - ./ci-scripts/generate-child-pipeline.sh > child-pipeline.yml
artifacts: artifacts:
paths: paths:
- child-pipeline.yml - child-pipeline.yml
trigger-child-pipeline:
stage: deploy
trigger: trigger:
include: include:
- artifact: child-pipeline.yml - artifact: child-pipeline.yml
job: generate-child-pipeline job: generate-child-pipeline
strategy: depend strategy: depend
needs:
- job: generate-child-pipeline
artifacts: true