Add with: to the CI JSON schema
What does this MR do and why?
Add to the CI json schema the with
keyword under all required fields.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Enable all FF relating to the interpolation of spec:inputs
- ci_multi_doc_yaml (actor: project) - Pre-requisites for inputs for include
- ci_includable_files_interpolation (actor: project) - Enables inputs for include: via the with: syntax.
- ci_include_components (actor: namespace) - Enables the include:component syntax for all projects in a namespace.
- Write the following in your CI config file:
template: ''
with:
my_var: value
component: '/my-component/path'
with:
my_var: value
- Notice there are no errors (squigly lines) in the editor relating to
with:
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.
Related to #407558 (closed)
Edited by Frédéric Caplette