Hello,
We’ve recently upgraded our self hosted gitlab running kubernetes to 17.3.1 and we’re hitting a curious error.
It’s basically this: Undefined Error with Dynamic Child Pipelines
In an attempt to reproduce this from our production pipeline I’ve actually copied the job from the Gitlab docs for executing a dynamic child pipeline,
So my .gitlab-ci.yml
file looks like this:
generate-config:
stage: build
script: cp ./child-pipeline.yml generated-config.yml
artifacts:
paths:
- generated-config.yml
child-pipeline:
stage: test
trigger:
include:
- artifact: generated-config.yml
job: generate-config
With the child pipeline definition looking like this:
testchildjob:
script:
- echo "testing"
The intial generate
job runs fine but it trys to trigger the child pipeline it throws this rather unhelpful error:
I’m curious as to whether anyone else has hit this with 17.3.1? We were running on 17.2.1 perfectly but following this update it just seems to have started happening. I’m not even sure where to find the log of what it’s trying to execute at this point - pointers on this would be massively appreciated.
I’ve checked the artifact that gets generated and as far as I can tell it looks absolutely perfect
this is the code from the generated artifact
testchildjob:
script:
- echo "testing"
Any pointers or help would be massively appreciated.
Edit
I should probably add it seems to be any child pipeline requiring an artifact that does it