Git designed for AI agents.
Upgrading Go used by Gitaly
Before following the process for upgrading the Go version used by Gitaly, for a general understanding of managing Go versions in GitLab projects, see Managing Go versions.
Prerequisites
Before upgrading the version of Go that is used by Gitaly to a specific version, the version must be already supported in these projects:
gitlab-build-images: The build infrastructure must support the target Go version. For an example, seegitlab-build-imagesmerge request #910.CNG: Cloud Native GitLab container images (CNG) must provide the required Go version runtime environment before Gitaly containers can use it. For an example, seeCNGmerge request #2360.GitLab CI: CI version must support the target Go version. For an example, see merge request #205683
Upgrade Go for Gitaly
To upgrade the version of Go used by Gitaly:
- Set the target version in the following files:
.gitlab-ci.yml: CI/CD pipeline Go version variables..tool-versions: Go version forasdfandmiseversion manager.README.md: Documentation stating minimum Go requirement.go.mod: Main project Go module file.- All
tools/**/go.modfiles because they're separate Go modules with their own version settings.
- Raise a merge request with the changes.