Skip to content

Update Ruby to 3.2.2

Ruby or Alpine version upgrade

This issue is to track the work for upgrading:

  • Ruby to version 3.2.2

To bump the versions of Ruby:

  1. Create a merge request to edit hardcoded versions in gitlab_kramdown project. Cut a new release.

  2. After the gitlab_kramdown merge request is merged, create a merge request to:

    • Edit the hardcoded versions in these files:

      • dockerfiles/single.Dockerfile
      • .gitpod.Dockerfile
      • .ruby-version
      • .tool-versions
    • Roll the version of gitlab_kramdown Gem forward.

  3. In the same merge request, edit .gitlab-ci.yml to bump the environment variables:

    • ALPINE_VERSION
    • RUBY_VERSION
  4. Before merging changes to .tool-versions, notify the team in the #tw-team channel of the change:

    I'm about to merge dependency changes to `gitlab-docs`. Run `make setup` to install the necessary updates.

    Then merge the merge request.

  5. After the merge request is merged, run the Build docker images manually scheduled pipeline, and run the following manual jobs:

    • image:gitlab-docs-base
    • image:docs-lint-markdown
    • image:docs-lint-html
  6. After the new images are built, make sure they work as expected by first updating the image entries in gitlab-docs:

  7. Update the the image entries in the upstream projects:

Edited by Evan Read