Fix include:template: syntax in CI templates
What does this MR do and why?
These templates are using incorrect YAML syntax: https://docs.gitlab.com/ee/ci/yaml/#includetemplate
As seen in https://gitlab.com/gitlab-com/ops-sub-department/section-ops-request-for-help/-/issues/191 (internal) this will lead to config should be an array or a string
errors in any project if one of these templates is set up as Required pipeline configuration.
How to set up and validate locally
- Set one of the changed templates as Required pipeline configuration.
- Create new project, go to pipeline editor and enter any CI configuration
- Observe
config should be an array or a string
error - Change templates according to the MR
- Observe error not occurring anymore
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.