Skip to content

Update Rails project template with BUNDLE_FROZEN

João Alexandre Cunha requested to merge jcunha-update-project-templates into master

What does this MR do and why?

Following the work done on gitlab-org/project-templates/rails!29 (merged). This updates the Rails template, which includes BUNDLE_FROZEN=true to guarantee that when the gitpod loads, it does not update the environment gems to untrusted gem versions.

Related issue: gitlab-org/project-templates/rails#38 (closed)

Screenshots or screen recordings

Screen_Shot_2022-06-17_at_10.29.40_AM

How to set up and validate locally

  • Create a new project on GDK from the Ruby on Rails template.
  • Validate that the .gitpod.yml file calls BUNDLE_FROZEN=true bundle install.
  • For a more thorough test, start a gitpod instance for this project and verify that the command above is called properly on the screen printed logs.

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 João Alexandre Cunha

Merge request reports