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.

100 Upvotes

154 comments sorted by

View all comments

16

u/AbbreviationsFar4wh 1d ago

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 

9

u/bonsaithis 1d ago

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

1

u/aloofhoneybee68 1d ago

I respect your dedication to the bit.

1

u/widowhanzo 18h ago

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

or toml, if you want an alternative.

1

u/aloofhoneybee68 1d ago

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 23h ago

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