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

18

u/Lavrick Sep 09 '26

You kinda get used to it. And basically, you write it only once, and then just reuse it via includes (haven't used actions, it was always gitlab for me).

3

u/aloofhoneybee68 Sep 09 '26

ok practice make perfect, business as usual

5

u/Lavrick Sep 09 '26

Yeap. But on bonus side - all k8s is yaml, so you better get used to it.

1

u/xonxoff Sep 10 '26

Now you get to learn kyaml as well!

1

u/Lavrick Sep 10 '26

Haven't heard about it, gonna check.

2

u/tevert Sep 09 '26

Bingo

Almost hate to bring it up buuuut this is also why AI is really bad for juniors trying to learn. If you let it vomit out the YAML, it might work, but you won't have a clue why and you won't be able to reproduce it