Feedback issue: Validate pipeline under selected conditions
Feature details
This issue is to gather feedback on the first iteration of the feature to validate pipeline under selected conditions. See #337282 (closed)
This feature allows you to validate pipeline syntax and the logic established with such keywords as rules
, only
, except
and needs
.
In the first iteration, the only condition available for testing is a git push
event to the default branch. In further iterations we'd like to introduce more conditions such as different pipeline trigger events and variables.
Implementation Guide
simulate_pipeline_creation
method at lib/gitlab/ci/lint.rb:47
.
Please provide your feedback
- What's working well?
- What's not working well?
- What can we improve?
- What other conditions would you like to see added to this feature?
Edited by Mark Nuzzo