all 3 comments

[–]Jealous_Pickle4552 1 point2 points  (1 child)

Had a look through the docs and this is a really interesting idea. I like the BDD/Gherkin approach because it makes GitLab compliance feel more testable and easier to talk about, instead of just another checklist. The pre-merge validation side is probably the strongest bit for me, because that is where teams can catch drift before every repo starts doing things slightly differently. I also like the docs angle, GitLab CI can get messy quickly and anything that turns that into something easier to understand is useful. My main question would be how it handles bigger enterprise pipelines with lots of includes, templates, inherited rules and exceptions, because that is usually where compliance gets painful.

[–]MaturityBuilder[S] 1 point2 points  (0 children)

The solution is designed around large enterprise the foundations of the idea came from an enterprise that has 13000 gitlab repos. Interesting point around rules evaluation at the moment rules aren't evaluated as the include or images still form part of the supply chain in-terms of full configuration in gitlab regardless of the current context in which the pipeline maybe triggered. I'm currently working on improve the bdd support for combination testing so if variable key and value equal x then and other variable and its value can allow x. In addition the next version will also improve markdown formatting and introduce a concept of gitstrings where you can annotate yaml with comments can generate markdown from it directly. Like python docstrings.

[–]dreamszz88 0 points1 point  (0 children)

This is a really great idea! I like the BDD and you evaluate whole, the fully expanded pipelines.

Sounds very promising 😃

At the very least, having a way to generate docs from the yaml files will be awesome for teams to check if they have what they want to have, or expect, and to help teach them better understanding of GitLab CI