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

1

u/widowhanzo Sep 10 '26

I've written a ton of yaml (ansible, k8s, github ci ...) and never really had major issues with indentation or nesting. But I started to learn programming with Python, so indentation was something pretty obvious to me.

Ok sure sometimes I missed a space or two, but any half decent IDE will fix that for you. The first few actions are a bit more difficult, then you can just start reusing them and it gets easier.

Although these days Claude writes most pipelines ...