Hey I am looking for a YAML validator to verify my .yaml files are correct.
I am using GitLab CI.
Since I have a massive configuration I split it to several yaml files and import them on my main yaml file (using gitlab's CI syntax for import
For example in
main.yml I have:
include: - ".imported_config1.yml" - ".imported_config2.yml"
There are many
yaml validators online, but none seem to validate it with the imports and it takes time and effort to manually copy paste all the imports to a different file and validate it just for the validation process...
When I run GitLab CI it verifies the
.yaml correctly, but I am looking for an external tool to perform only the validation process before the config file is in the server.
Is there any tool or fix for this?