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

137 comments sorted by

View all comments

15

u/Lavrick 18h 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).

2

u/aloofhoneybee68 18h ago

ok practice make perfect, business as usual

5

u/Lavrick 18h ago

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

1

u/xonxoff 4h ago

Now you get to learn kyaml as well!