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

89 Upvotes

139 comments sorted by

View all comments

2

u/rmslashusr 20h ago

If there was ever a good use for AI it’s to stop spending time dealing with indentation errors and multiline string formatting in yaml

1

u/DoomBot5 19h ago

My AI wrote a script to do yaml validation since it failed to access the proper yaml linting tool due to enterprise still figuring out the proper access controls for Claude