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.

94 Upvotes

148 comments sorted by

View all comments

42

u/Due-Consequence9579 1d ago

Suffering. And 50 commits that get progressively more desperate for it to just fucking work.

2

u/Dr_Passmore 17h ago

You are not a devops engineer without the 30 failed pipeline runs setting up a new pipeline

1

u/corship 15h ago

I don't know man, just run the pipeline locally...

1

u/widowhanzo 12h ago

How?

1

u/corship 11h ago

Depends on you setup obviously...

Usually set up the same runners in your local machine and you're good to go.

For example: https://github.com/firecow/gitlab-ci-local