fix CI
This commit is contained in:
1 parent
d9b1b0f6fd
commit
a38a43cb9b
1 file changed
+8
-1
+8
-1
@@ -1,17 +1,24 @@
|
||||
stages:
|
||||
- generate
|
||||
- deploy
|
||||
|
||||
generate-child-pipeline:
|
||||
stage: generate
|
||||
image: alpine:latest
|
||||
script:
|
||||
- apk add --no-cache bash
|
||||
- ./ci-scripts/generate-pipeline.sh > child-pipeline.yml
|
||||
- ./ci-scripts/generate-child-pipeline.sh > child-pipeline.yml
|
||||
artifacts:
|
||||
paths:
|
||||
- child-pipeline.yml
|
||||
|
||||
trigger-child-pipeline:
|
||||
stage: deploy
|
||||
trigger:
|
||||
include:
|
||||
- artifact: child-pipeline.yml
|
||||
job: generate-child-pipeline
|
||||
strategy: depend
|
||||
needs:
|
||||
- job: generate-child-pipeline
|
||||
artifacts: true
|
||||
Reference in new issue
Block a user