Skip to content

Release team on-boarding: updates on example project to fix tests

Etienne Baqué requested to merge ebaque/ruby-getting-started:gem-update into master

As part of my on-boarding process as a developer in the Release team, I had to create or use a sample project and make tests pass: release-stage/onboarding#1 (closed)

I chose to use the suggested existing project: https://gitlab.com/ayufan/ruby-getting-started

However, the project has not been updated in a few years. So I decided to do some upgrades and some config changes in order to fix the tests. Here's what was done:

  • The Ruby version was bumped to 2.3.8. Upgrading to a more recent version was triggering a lot of noise (ie. tons of warnings generated as Fixnum and Bignum became Integer as of ruby 2.4)
  • The current Docker Ruby image references packages repo that don't seem reachable any longer. Not a problem with the 2.3.8 image (also, it's about being consistent with the Ruby version change)
  • Gem upgrades and some config changes
  • Initializer to address a problem between PG and the used Rails version (more here: https://github.com/rails/rails/issues/28780#issuecomment-354868174)

Latest build: https://gitlab.com/ebaque/ruby-getting-started/pipelines/68558225

Merge request reports