Skip to content

Cache gems after building Rails image

Rémy Coutable requested to merge 1312-cache-gems into master

This caches the installed gems from the image and retrieve them before installing them when building the Docker image.

  1. First run (without cache): https://gitlab.com/gitlab-org/build/CNG/-/jobs/362909159 => 17 minutes. 🐌
  2. Second run (with cache): https://gitlab.com/gitlab-org/build/CNG/-/jobs/362969430 => 10 minutes! 🚀

Closes gitlab-org/charts/gitlab#1312 (closed).

Edited by Rémy Coutable

Merge request reports