Draft: Add source and variables to lint api
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
What does this MR do and why?
This code update introduces two new optional parameters, source
and variables
, to the /projects/:id/ci/lint
endpoint.
These parameters allow users to specify the source of a simulated pipeline and provide an array of variables available in the pipeline.
This change will allow users to debug and test their config files for all scenarios.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Tomer Riffkin Sade