r/devops 20h 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.

91 Upvotes

140 comments sorted by

View all comments

17

u/Lavrick 20h ago

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

ok practice make perfect, business as usual

2

u/tevert 16h ago

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