r/devops • • Sep 09 '26

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.

122 Upvotes

161 comments sorted by

View all comments

17

u/AbbreviationsFar4wh Sep 09 '26

Claude writes my yaml dude. 

Also this feels like marketing for some yaml alternative thats going to pop up as suggestion in comments under some rando user 

10

u/bonsaithis Sep 09 '26

So here at xyz limited we use ymao, and it's saved tons of time from our ops fighting those fidgety intentions. Between these and make files we had ci fires every day

Now, with ymao we just type what we think the infra should be and it just happens. Just write that shit down, built in auto linters even spell check it for you

Hell I'm posting this reddit comment with ymao

You can find more here if interested, and you are fucking dumb if you aren't interested

ymao website

2

u/aloofhoneybee68 Sep 09 '26

I respect your dedication to the bit.

1

u/widowhanzo Sep 10 '26

you can always write json ... all json is valid yaml

or toml, if you want an alternative.

1

u/aloofhoneybee68 Sep 09 '26

marketing 🤣 I wish I was paid for that.

Just want to understand how DevOps engineer's work around it and not fall into AI wrote it but I don't understand how it works bin

6

u/Conscious_Ad_7131 Sep 10 '26

You should be very easily able to read AI generated YAML and know what it does, it’s not complicated

1

u/Dr_Gregg Sep 12 '26

Know about what you want to see before you get the ai output in the first place for one. You can use ai to iterate on a plan or write modules or whatever, but everyone still has to read the docs and develop experience with design.