Closed justfortherec closed 3 years ago
Thank you for quickly adding the requested extends functionality. Unfortunately, it only works for a single template while extends: is an array.
extends
extends:
To reproduce, try this .gitlab-ci.yml file:
.gitlab-ci.yml
.first-example-template: image: name: alpine .second-example-template: only: refs: - master example-job: extends: - .first-example-template - .second-example-template script: echo "Hello World"
It seems as if glci joins the names of the extended jobs instead of iterating over them:
glci
> glci Can't extend job '.first-example-template,.second-example-template': job doesn't exist.
Should be fixed in https://github.com/mdubourg001/glci/releases/tag/v0.3.0. Thanks for reporting this 👌
Thank you for quickly adding the requested
extends
functionality. Unfortunately, it only works for a single template whileextends:
is an array.To reproduce, try this
.gitlab-ci.yml
file:It seems as if
glci
joins the names of the extended jobs instead of iterating over them: