3 ms·
This is made worse by the fact that you need to write for a specific structure/schema, but typically you have no validation for it, and no immediate feedback on
by pornel 3y ago
This is made worse by the fact that you need to write for a specific structure/schema, but typically you have no validation for it, and no immediate feedback on errors.
You tweak a line, push, wait, check if it worked, rinse, repeat. It's even more infuriating when YAML-consuming tools silently ignore extra fields. You get some dash or colon wrong, and then it just doesn't work, and it won't tell you why.
- Spivak 3y agoYou can validate YAML with JSONSchema and it has sold editor support.
- capital_guy 3y agoYeah, this is where it really gets painful. CI/CD systems like GitLab don't include linters for their yaml configs so you're just shooting in the dark trying to get it work for push after push. it's a terrible way to make a system