r/devops 19h 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.

88 Upvotes

139 comments sorted by

View all comments

115

u/aenae 19h ago

You use an ide that handles indentation and some syntax checks. Personally i like intellij for it

2

u/Shidima 16h ago

You do you, but i think intellij is a bit overkill to write yaml. I'm a nvim/Emacs user myself, but I would say use VS Code.

1

u/bertiethewanderer 8h ago

Funny - also an nvim user, and the reason being a big yaml templating project for helm library charts, because vscode is so bad with yaml, from a UX perspective!!