Draft: Ruby: add cleanup script for bundler verisons
What does this MR do?
Add cleanup-bundler
script to remove any "straggler" versions of
Bundler gem, so that only the version provided to the gitlab-ruby
container is present within the output.
This change:
- limits the number of versions of the Gem present
- reduces erroneous dependency scanning results due to unused versions
- explicitly controls installed versions
Changelog: changed
Closes: https://gitlab.com/gitlab-org/charts/gitlab/-/issues/3471
Checklist
See Definition of done.
For anything in this list which will not be completed, please provide a reason in the MR discussion
Required
-
Merge Request Title, and Description are up to date, accurate, and descriptive -
MR targeting the appropriate branch -
MR has a green pipeline on GitLab.com
Expected (please provide an explanation if not completing)
-
Test plan indicating conditions for success has been posted and passes -
Documentation created/updated -
Integration tests added to GitLab QA -
The impact any change in container size has should be evaluated