Skip to content

Use BUNDLE_ONLY to load coverage gems

David Dieulivol requested to merge 416630-optimize_coverage_jobs into master

Context

Related to #416630 (closed)

What does this MR do and why?

Use BUNDLE_ONLY to load gems.

Before this commit, we downloaded a ruby gems cache (took ~15 seconds), and did a bundle install without most gems (took ~5 seconds).

This commit introduces the new BUNDLE_ONLY env variable to only install the specific group we'd like to use: coverage.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by David Dieulivol

Merge request reports