Consolidate stub helpers and use them consistently

What does this MR do?

I was reading through the code that stubs a basic gitlab CI yaml configuration file, and noticed that we could get rid of a file and use the existing helper more consistently. By using it everywhere, it'll be more easily understood what is happening when the method is invoked. Multiple ways of doing the same thing only ass confusion.

How to setup and validate locally (strongly suggested)

This is just a spec refactoring, so you could run any of the modified specs locally. Really though the way to validate this is with CI passing. No specs or behavior should change.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Merge request reports

Loading