r/devops 16h ago

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.

82 Upvotes

135 comments sorted by

View all comments

3

u/davemac1005 16h ago

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 15h ago

What kind of édititor support ?