Update Ruby and Alpine versions

Ruby or Alpine version upgrade

Contributes to: &9684 (closed).

This issue is to track the work for upgrading:

  • Ruby to version 3.2.1
  • Alpine to version 3.17

To bump the versions of Ruby or Alpine:

  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. After the merge request is merged, run the following manual jobs in the next scheduled pipeline:

    • image:gitlab-docs-base
    • image:docs-lint-markdown
    • image:docs-lint-html
  5. After the new images are built, make sure they work as expected by first updating the image entries in gitlab-docs: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/.gitlab/ci/test.gitlab-ci.yml.

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

Edited by Evan Read