Skip to content

Git designed for AI agents.

1.7 KB
Raw Blame

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:

Upgrade Go for Gitaly

To upgrade the version of Go used by Gitaly:

  1. Set the target version in the following files:
    • .gitlab-ci.yml: CI/CD pipeline Go version variables.
    • .tool-versions: Go version for asdf and mise version manager.
    • README.md: Documentation stating minimum Go requirement.
    • go.mod: Main project Go module file.
    • All tools/**/go.mod files because they're separate Go modules with their own version settings.
  2. Raise a merge request with the changes.