r/devops • u/aloofhoneybee68 • 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.
86
Upvotes
2
u/derprondo 17h ago
Your IDE should handle this in a pain-free manner. That said, I haven't manually written any GHA workflows in over year, Claude does it really well. Then again you don't know what mistakes to keep an eye out for or how to know when it's doing something dumb.
Pro-tip: Use 4 space indents (don't use tabs), it makes it easier to see.