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:
-
Create a merge request to edit hardcoded versions in gitlab_kramdownproject. Cut a new release. -
After the
gitlab_kramdownmerge 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_kramdownGem forward.
-
-
In the same merge request, edit
.gitlab-ci.ymlto bump the environment variables:-
ALPINE_VERSION -
RUBY_VERSION
-
-
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
-
-
After the new images are built, make sure they work as expected by first updating the imageentries ingitlab-docs: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/.gitlab/ci/test.gitlab-ci.yml. -
Update the the
imageentries in the upstream projects:-
GitLab (https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/ci/docs.gitlab-ci.yml) -
Omnibus GitLab (https://gitlab.com/gitlab-org/omnibus-gitlab/-/blob/master/gitlab-ci-config/gitlab-com.yml) -
GitLab Runner (https://gitlab.com/gitlab-org/gitlab-runner/-/blob/main/.gitlab/ci/test.gitlab-ci.yml) -
GitLab Chart (https://gitlab.com/gitlab-org/charts/gitlab/-/blob/master/.gitlab-ci.yml) -
GitLab Operator (https://gitlab.com/gitlab-org/cloud-native/gitlab-operator/-/blob/master/.gitlab-ci.yml) -
GitLab Development Kit (https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/.gitlab/ci/test.gitlab-ci.yml)
-