Drop usage of git to list files in gitlab-rspec gem
What does this MR do and why?
Drop usage of git to list files in gitlab-rspec gem. git
might not be available in the build environment in all distribution formats, for example while building UBI and FIPS images in CNG. Adding git
just for this brings in cruft, which is not ideal. Since the usecase is trivial enough, maybe using Dir.glob
is sufficient.
Closes: gitlab-org/build/CNG#466 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.