Kubernetes tests simplify build creation
What does this MR do?
Makes portions of the code that are copy-paste offenders reuse getTestBuild
in the kubernetes executor tests.
Why was this MR needed?
Copy-pasting 10 lines in each test feels wrong.
What's the best way to test this MR?
Make sure all existing tests pass. If the pipeline is green, we should be good to go.
What are the relevant issue numbers?
Closes #27024 (closed)
Edited by Georgi N. Georgiev