Hi there,
I have quite a large gitlab-ci.yml where a number of templates are extended by a large number of jobs. I am trying to reduce the size of the main configuration file by moving some of these job definitions to dedicated includes. Something like this:
.template:
stage: testGroupA_Elem1:
extends: .templateGroupA_Elem2:
extends: .templateGroupA_Elem3:
extends: .templateGroupB_Elem1:
extends: .templateGroupB_Elem2:
extends: .templateGroupB_Elem3:
extends: .template
would need to become
.template:
stage: testinclude: “group_a.yml”
include: “group_b.yml”
What i run into is that the first include is somehow ignored. Any idea why and what would be the proper way to do it?
Thanks
Vlad