r/devops • • Sep 09 '26

Tools Beginner DevOps question: Do experienced engineers actually write YAML like this?

I’m still learning CI/CD and I recently tried writing a simple CI/CD pipeline using GitHub Actions.

Honestly, writing the YAML felt more difficult than I expected . The indentation, nesting etc felt pretty hard/ painful.

For those of you who work with DevOps professionally: is this actually how you write your pipelines, or are there shortcuts/tools/templates that make it easier?

Just trying to understand what the normal workflow is in the real world.

122 Upvotes

161 comments sorted by

View all comments

3

u/davemac1005 Sep 09 '26

I was surprised to know that nobody in my team (only team in my company to do infra) knew about yaml schemas and some people didn’t even have proper editor support (auto indent, formatting etc.)
Honestly I would not be able to do any kubernetes or gitlab CI without those, it’s just so much simpler to have editor autocomplete and descriptions of each yaml key, instead of having to constantly go back and forward from the docs

1

u/No-Call-5549 Sep 09 '26

What kind of édititor support ?

1

u/davemac1005 Sep 10 '26

I mean having a Language Server (I personally use yaml-language-server) or any editor integration that can validate the yaml contents given the schema

2

u/No-Call-5549 Sep 10 '26

Oh pretty cool ! (i learn devops by myself so i take all info !) thanks Davemac 👍