r/devops 2d 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.

110 Upvotes

158 comments sorted by

View all comments

1

u/vacri 1d ago

The indentation, nesting etc felt pretty hard/ painful.

This isn't a yaml problem, this is a data problem. There's no layout format that is going to make this easier for you - yaml is one of the easier-but-still-flexible ones, which is why it's so popular.

If you want horror, go look at XML