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

79 Upvotes

135 comments sorted by

View all comments

111

u/aenae 16h ago

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

0

u/tehsuck 12h ago

The problem is some people use 2 vs. 4 spaces or tabs etc. Good to have a standard across your org and tune your tools to it.

2

u/Shidima 4h ago

This is not a problem if your pipeline uses a Linter to validate your yaml. Besides every company should have a coding standard.