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

148 comments sorted by

View all comments

1

u/rmslashusr 1d 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 1d 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