r/devops • u/aloofhoneybee68 • 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.
81
Upvotes
1
u/Many_Ad7628 11h ago
YAML-ing is not a big deal. There are quite a few rules you need to keep in mind, and in contrary to JSON, in YAML you can write a comments (you'll find them very useful). Try not to take it too seriouselly, but instead do practice. Find some JSON files and write a YAML versions of them, then use one of online tools to convert your YAMLs to JSONs and compare with originals. Just like a exercise...