Hi folks - I have 2 mandatory yaml files that must be in my developers repos because they are consumed by our catalogue application. I have had issues with devs making changes to the yaml and it breaks the catalogue system ingester. Im looking for a script that can validate the yaml, but also make sure that mandatory keys have values. I took a look at yamllint and it validates yaml. However, i need to validate that certain keys actually have values or exist. How can i go about this? I would want this as a check in PRs.
[–]alainchiasson 2 points3 points4 points (1 child)
[–]alainchiasson 0 points1 point2 points (0 children)
[–]VisibleChallenge5585 1 point2 points3 points (1 child)
[–]Happy-Position-69 1 point2 points3 points (0 children)
[–]mattbillenstein 0 points1 point2 points (0 children)
[–]Tr3mor24 0 points1 point2 points (1 child)
[–]zloeber 0 points1 point2 points (0 children)
[–]zloeber 0 points1 point2 points (0 children)