Skip to content

Add the ruby version to the container version

DJ Mountney requested to merge include-ruby-version-in-container-version into master

What does this MR do?

Adds the ruby version to the ruby images's container version. And saves that as an artifact. We then use that ruby version everywhere the ruby image is needed.

This solves an issue with us not being able to run ruby 3 and ruby 2 branches at the same time without them overridding each other's containers.

Related issues

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated

Note on pipeline state

Default values @ 2.7.5: https://gitlab.com/gitlab-org/build/CNG/-/pipelines/505220226 Supplied values @ 3.0.3: https://gitlab.com/gitlab-org/build/CNG/-/pipelines/505301911 🚫

This is currently expected as bootsnap does not work properly on Ruby 3.0.

Edited by Jason Plum

Merge request reports