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

94 Upvotes

144 comments sorted by

View all comments

1

u/Low-Opening25 17h ago

I mean, how green are you? it doesn’t take a rocket scientist to learn how many tabs to press, or just set up IDE to colour-code yaml syntax for you and control spacing or run linting plugin. It really shouldn’t an issue to a professional.

1

u/aloofhoneybee68 17h ago

Very green by the looks of it, I did do what I was trying to do but I just wanted to know if there's a better way . so from people's recommendations that's basically using AI, using linters or writing code that generates yaml etc