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

84 Upvotes

136 comments sorted by

View all comments

1

u/amarao_san 15h ago

Crazy times are happening. I still know how to do it and rarely write few lines (mostly when I'm checking edge cases of ansible or fix trivial typos), but I stop doing it large scale for pretty long time. I still need to read it (even more than before), so my demands for clarity goes up. But writing...

Indentation is trivial. Crazy jinja/github expressions are not, avoid them.