Add bundle check command to bundle_install script
What does this MR do and why?
Follow up from gem cache implementation with a few further improvements:
- Add
bundle checkcommand to skip runningbundle installif dependencies are satisfied (rails uses the same in default setup scripts as well) - Add check for default pg version usage and do not reinstall
pggems in jobs that do not overridePG_VERSIONvariable - Minor readability improvements for bundle_install_script function
- Set
FF_USE_FASTZIPtotruefor gem cache job: see gitlab-com/gl-infra/delivery#21371 (comment 2658203048)
References
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by andrey